Fix result text cutoff in Firefox

Fixes #65
This commit is contained in:
Dominik Reh
2022-11-06 14:32:33 +01:00
parent 535c2a6753
commit ca8a0c433e

View File

@@ -12,6 +12,7 @@ let autocompleteCSS_dark = `
border: 1px solid #4b5563 !important;
border-radius: 12px !important;
overflow-y: auto;
scrollbar-gutter: stable;
}
.autocompleteResultsList > li:nth-child(odd) {
background-color: #111827;
@@ -33,7 +34,6 @@ let autocompleteCSS_dark = `
.acListItem {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.acPostCount {
position: relative;
@@ -52,6 +52,7 @@ let autocompleteCSS_light = `
border: 1.5px solid #e5e7eb !important;
border-radius: 12px !important;
overflow-y: auto;
scrollbar-gutter: stable;
}
.autocompleteResultsList > li:nth-child(odd) {
background-color: #f9fafb;
@@ -73,7 +74,6 @@ let autocompleteCSS_light = `
.acListItem {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.acPostCount {
position: relative;