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 3bf3444 commit 9667558
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
body {
margin: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
height: 100vh;
width: 100vw;
}

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

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

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

0 comments on commit 9667558

Please sign in to comment.