From 3ffec72d3e12952408b6bd794227ae7123b14180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Tue, 9 Apr 2024 19:41:14 +0200 Subject: [PATCH] Fix jumping tag auto complete --- .../components/TagAutocomplete.svelte | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/bookmarks/frontend/components/TagAutocomplete.svelte b/bookmarks/frontend/components/TagAutocomplete.svelte index 5e2d736..6a46bee 100644 --- a/bookmarks/frontend/components/TagAutocomplete.svelte +++ b/bookmarks/frontend/components/TagAutocomplete.svelte @@ -150,17 +150,27 @@ display: block; } + .form-autocomplete-input { + box-sizing: border-box; + height: var(--control-size); + min-height: var(--control-size); + padding: 0; + } + + .form-autocomplete-input input { + width: 100%; + height: 100%; + border: none; + margin: 0; + } + .form-autocomplete.small .form-autocomplete-input { height: var(--control-size-sm); min-height: var(--control-size-sm); - padding: 0.05rem 0.3rem; } .form-autocomplete.small .form-autocomplete-input input { - width: 100%; - height: 100%; - margin: 0; - padding: 0; + padding: 0.05rem 0.3rem; font-size: var(--font-size-sm); }