before / after with box-sizing
This commit is contained in:
parent
a481f65367
commit
e2fde95ba5
3 changed files with 9 additions and 4 deletions
|
@ -376,11 +376,14 @@ html {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
-webkit-box-sizing: inherit;
|
||||
box-sizing: inherit;
|
||||
/* avoid min-width: auto on flex and grid children */
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,11 +7,13 @@ html {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
* {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
/* avoid min-width: auto on flex and grid children */
|
||||
min-width: 0;
|
||||
// min-height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
|
|
Loading…
Reference in a new issue