Skip to content

Commit fd9dd92

Browse files
committed
feat (theme): stripe breakpoints units
1 parent 7ccd848 commit fd9dd92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/scss/01-abstract/_variables.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use "sass:map";
2+
@use "sass:math";
23

34
/**
45
* Variables
@@ -133,8 +134,8 @@ $breakpoints: (
133134
admin-bar: 784, // admin bar height change
134135
md: 1024,
135136
mdl: 1200,
136-
container-default: $container-default + $external-gutter-mobile * 2,
137-
container-wide: $container-wide + $external-gutter * 2,
137+
container-default: math.div($container-default + $external-gutter-mobile * 2, 1px),
138+
container-wide: math.div($container-wide + $external-gutter * 2, 1px),
138139
);
139140
// /!\ WARNING: If you use a breakpoint of 1280px, it causes a bug under Window Edge with a device pixel ratio higher than 1. Prefer to use the value 1279px.
140141

0 commit comments

Comments
 (0)