Skip to content

Commit

Permalink
fix: loader is not visible if input is very narrow
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinecula committed Nov 18, 2024
1 parent d9eca0e commit e86fffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/listbox/skeleton-span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const style = css`
background-position: right;
animation: sweep 1.5s cubic-bezier(0.3, 1, 0.3, 1) infinite;
border-radius: 3px;
width: 100px;
width: calc(100% - 35px);
max-width: 150px;
height: 20px;
}
Expand Down

0 comments on commit e86fffb

Please sign in to comment.