Skip to content

Commit

Permalink
prevent the slider from shrinking when label contains a long string
Browse files Browse the repository at this point in the history
  • Loading branch information
JesmoDev authored and iOvergaard committed Jul 8, 2024
1 parent 0e63e0b commit 9918cc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/uui-toggle/lib/uui-toggle.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ export class UUIToggleElement extends UUIBooleanInputElement {
display: flex;
align-items: center;
flex-shrink: 0;
width: var(--uui-toggle-switch-width);
height: var(--uui-toggle-size);
border-radius: 100px;
Expand Down

0 comments on commit 9918cc3

Please sign in to comment.