Skip to content

Commit 71b5215

Browse files
committed
🐛 [PillSwitch] Fix broken layout
1 parent 6e08a11 commit 71b5215

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/src/components/Page/Page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ body {
3434

3535
&::before {
3636
top: 0;
37-
box-shadow: 0 #{- (get-spacing(fattest))} 0 get-spacing(fattest) get-color(coal, dark);
37+
box-shadow: 0 -#{get-spacing(fattest)} 0 get-spacing(fattest) get-color(coal, dark);
3838
}
3939

4040
&::after {

examples/src/components/PillSwitch/props.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ $pill-switch-data: (
2626
tablet: $pill-switch-control-size-tablet,
2727
),
2828
track-width: (
29-
base: (
30-
$pill-switch-control-size * 2,
31-
) + $pill-switch-radius,
29+
base: $pill-switch-control-size * 2 + $pill-switch-radius,
3230
tablet: $pill-switch-control-size-tablet * 2,
3331
),
3432
);

0 commit comments

Comments
 (0)