Skip to content

Commit

Permalink
スタイル調整
Browse files Browse the repository at this point in the history
  • Loading branch information
erutobusiness committed Mar 31, 2024
1 parent 76cca4f commit d9f1576
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/components/heading/H1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const styles = stylex.create({
fontSize: '4em',
lineHeight: 1.5,
margin: 0,
width: '100%',
textAlign: 'left',
},
});

Expand Down
2 changes: 2 additions & 0 deletions src/components/heading/H2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const styles = stylex.create({
fontSize: '2em',
lineHeight: 1.5,
margin: 0,
width: '100%',
textAlign: 'left',
},
});

Expand Down
2 changes: 2 additions & 0 deletions src/components/heading/H3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const styles = stylex.create({
fontSize: '1.5em',
lineHeight: 1,
margin: 0,
width: '100%',
textAlign: 'left',
},
});

Expand Down
4 changes: 1 addition & 3 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}

body {
display: flex;
display: grid;
place-items: center;
min-width: 320px;
min-height: 100svh;
Expand All @@ -43,8 +43,6 @@ img {
#root {
display: grid;
place-items: center;
width: 100vw;
height: 100svh;
}

@media (prefers-color-scheme: light) {
Expand Down

0 comments on commit d9f1576

Please sign in to comment.