Skip to content

Commit 00a1bff

Browse files
authored
fix(stepper): add clamp function to values to prevent indicator background being cut (#13981)
1 parent e47a23e commit 00a1bff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/igniteui-angular/src/lib/core/styles/components/stepper/_stepper-theme.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@
356356
$separator-position: 50%;
357357

358358
$outline-width: map.get((
359-
material: rem(1px),
360-
fluent: rem(1px),
361-
bootstrap: rem(1px),
362-
indigo-design: rem(2px)
359+
material: clamp(1px, rem(1px), rem(1px)),
360+
fluent: clamp(1px, rem(1px), rem(1px)),
361+
bootstrap: clamp(1px, rem(1px), rem(1px)),
362+
indigo-design: clamp(2px, rem(2px), rem(2px))
363363
), $variant);
364364

365365
$separator-size: map.get((

0 commit comments

Comments
 (0)