Skip to content

Commit 2a640dc

Browse files
authored
Merge pull request #436 from BeAPI/fix/editor-base-style
fix editor base style
2 parents d3ac9eb + bd41511 commit 2a640dc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-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;

src/scss/editor.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $entry-file-name: "editor";
2121

2222
@import "./03-base/fonts";
2323
@import "./03-base/variables-css";
24+
@import "./03-base/body";
2425
@import "./03-base/svg-icons";
2526
@import "./03-base/links";
2627
@import "./03-base/text";

0 commit comments

Comments
 (0)