Skip to content

Commit

Permalink
fix(home): broken layout on mobile
Browse files Browse the repository at this point in the history
also some small CSS refactoring in the global css file
  • Loading branch information
urish committed Apr 7, 2024
1 parent fc1586c commit ecb5701
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/Home.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.page {
flex: 1;
margin: 0 auto;
width: 800px;
max-width: 800px;
padding: 8px;
}

.urlInput {
Expand Down
10 changes: 5 additions & 5 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
body {
margin: 0;
padding: 0;

font-family: 'Open Sans', sans-serif;
font-size: 16px;
line-height: 1.6;
color: #333;
background-color: #000;
color: #ddd;

display: flex;
position: absolute;
display: flex;
flex-direction: column;
top: 0;
bottom: 0;
width: 100vw;
height: 100vh;
flex-direction: column;
background-color: #000;
color: #ddd;
}

a {
Expand Down

0 comments on commit ecb5701

Please sign in to comment.