Skip to content

Commit 448bd23

Browse files
committed
ref: move box-sizing css to avoid layout shift on load
1 parent 854ac5e commit 448bd23

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

webzebra/src/critical.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* {
2+
box-sizing: border-box;
3+
}
4+
15
body {
26
background-color: #3a7f46;
37
font-family: Avenir, Helvetica, Arial, sans-serif;

webzebra/src/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Copyright (c) Tailwind Labs, Inc.
44
*/
55
*, :before, :after {
6-
box-sizing: border-box;
76
border-width: 0;
87
border-style: solid;
98
border-color: #e5e7eb

0 commit comments

Comments
 (0)