From 14457517a7380c346fd03000a7d02ef6e889f2dd Mon Sep 17 00:00:00 2001 From: Cristian Necula Date: Wed, 20 Nov 2024 14:01:50 +0200 Subject: [PATCH] fix: loader looks bad on very narrow inputs (#181) --- src/autocomplete/skeleton-span.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autocomplete/skeleton-span.ts b/src/autocomplete/skeleton-span.ts index 5065ac4..b65a8b4 100644 --- a/src/autocomplete/skeleton-span.ts +++ b/src/autocomplete/skeleton-span.ts @@ -10,10 +10,10 @@ const style = css` background-position: right; animation: sweep 1.5s cubic-bezier(0.3, 1, 0.3, 1) infinite; border-radius: 3px; - width: calc(100% - 50px); + width: calc(100% - 20px); max-width: 150px; height: 20px; - margin: 10px 0 10px 33px; + margin: 10px; } :host-context([show-single]) {