From ca8a0c433ee133a5090133f0681080378e45f744 Mon Sep 17 00:00:00 2001 From: Dominik Reh Date: Sun, 6 Nov 2022 14:32:33 +0100 Subject: [PATCH] Fix result text cutoff in Firefox Fixes #65 --- javascript/tagAutocomplete.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/tagAutocomplete.js b/javascript/tagAutocomplete.js index 28944b6..d679bac 100644 --- a/javascript/tagAutocomplete.js +++ b/javascript/tagAutocomplete.js @@ -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;