Skip to content

Commit 3bc43ea

Browse files
committed
refactor: simplified declaration
1 parent e5d5b73 commit 3bc43ea

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

packages/foundations/scss/defaults/default-required.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ body {
6666
}
6767

6868
// Box sizing
69-
html {
69+
*,
70+
::before,
71+
::after {
7072
box-sizing: var(--db-box-sizing, border-box);
7173
}
7274

@@ -78,12 +80,6 @@ html {
7880
text-rendering: optimizelegibility;
7981
}
8082

81-
*,
82-
::before,
83-
::after {
84-
box-sizing: inherit;
85-
}
86-
8783
// Make sure every elements has the current color from container above
8884
body,
8985
button,

0 commit comments

Comments
 (0)