Skip to content

Commit 8a50718

Browse files
committed
Fix#622: search icon overlapp fix changed scss
Signed-off-by: Shirshendu R Tripathi <shirsh8924@gmail.com>
1 parent 2fb351e commit 8a50718

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

assets/scss/_search_project.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595
.td-search__icon {
9696
display: flex;
9797
color: $input-placeholder-color;
98+
background-color: var(--bs-body-bg);
99+
padding-right: 0.2rem;
98100
}
99101
}
100102
}

layouts/partials/search-input-nav.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@
3333
{{ $offlineSearchLink := $offlineSearchIndex.RelPermalink -}}
3434

3535
<div class="td-search td-search--offline">
36-
<style>
37-
.td-search--offline:focus-within .td-search__icon {
38-
background-color: var(--bs-body-bg);
39-
padding-right: 0.2rem;
40-
}
41-
</style>
4236
<div class="td-search__icon"></div>
4337
<input
4438
type="search"

0 commit comments

Comments
 (0)