Skip to content

Commit 70613c4

Browse files
authored
Fix search input focus text alignement and overscroll-behavior for results (#1891)
1 parent 08dba8f commit 70613c4

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

assets/css/autocomplete.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
max-height: 450px;
108108
white-space: normal;
109109
overflow-x: hidden;
110+
overscroll-behavior-y: contain;
110111
}
111112

112113
.autocomplete-suggestions.previewing:has(.selected) {
@@ -245,4 +246,4 @@
245246
.autocomplete-results .press-return {
246247
display: none;
247248
}
248-
}
249+
}

assets/css/search-bar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
.top-search .search-bar .search-input {
2727
background-color: var(--searchSearch);
28-
border: none;
28+
border: 1px solid transparent;
2929
border-radius: 8px;
3030
color: var(--searchAccentMain);
3131
position: relative;
@@ -40,7 +40,7 @@
4040
}
4141

4242
.top-search .search-bar .search-input:focus {
43-
border: 1px solid var(--searchBarFocusColor);
43+
border-color: var(--searchBarFocusColor);
4444
border-radius: 8px;
4545
position: relative;
4646
box-shadow: 0px 4px 20px 0px var(--searchBarBorderColor) inset;

formatters/html/dist/html-elixir-B222U3A3.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

formatters/html/dist/html-elixir-ISJZPRP6.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

formatters/html/dist/html-erlang-23BW7JAH.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

formatters/html/dist/html-erlang-FPHIRMHP.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)