Skip to content

Commit bd41511

Browse files
committed
retrieve box sizing default
1 parent 0a16617 commit bd41511

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/scss/03-base/_body.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ html {
1919
text-rendering: auto;
2020
}
2121

22+
/**
23+
* Relax the definition a bit, to allow components to override it manually.
24+
*/
25+
* {
26+
&,
27+
&::before,
28+
&::after {
29+
box-sizing: inherit;
30+
}
31+
}
32+
2233
body {
2334
font-family: $font-family-primary;
2435
font-size: $font-size-base;

0 commit comments

Comments
 (0)