Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
chuanchihsu1219 authored Sep 15, 2023
1 parent e70bc3a commit 09b1345
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
body {
margin: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
height: 100vh;
width: 100vw;
}

.table {
width: 100%;
max-width: 100vw;
overflow-x: auto;
transform-origin: top left;
transform: scale(1);
transition: transform 0.2s;
}

.table th, .table td {
Expand All @@ -14,9 +21,3 @@ body {
text-align: center;
white-space: nowrap;
}

@media (max-width: 600px) {
.table {
zoom: 0.5;
}
}

0 comments on commit 09b1345

Please sign in to comment.