Skip to content

Commit

Permalink
Fixed box sizing to apply to all elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdarrengriffin authored Jun 26, 2024
1 parent e3bc76b commit 156578a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/docs.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
*{
box-sizing: border-box;
}

body,
html {
margin: 0;
padding: 0;
line-height: 1.5;
box-sizing: border-box;
}

p,li{
Expand Down Expand Up @@ -44,7 +47,6 @@ body {
font-family: 'Inter', sans-serif;
font-optical-sizing: auto;
font-weight: 400;

}

h1,
Expand Down Expand Up @@ -85,6 +87,7 @@ code {
max-width: 800px;
margin: 0 auto;
padding: 1rem;
width: 100%;
}

.intro {
Expand Down

0 comments on commit 156578a

Please sign in to comment.