Skip to content

Commit 84293c2

Browse files
committed
Make home squares width relative to screen width instead of height (vh to vw)
1 parent fb73bfa commit 84293c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎static/main.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ li.inlineList {
256256
#defaultSquare {
257257
transition: 0.4s;
258258
border: medium solid white;
259-
height: 7vh;
259+
height: 3vw;
260260
overflow: hidden;
261-
width: 10vh;
261+
width: 6vw;
262262
opacity: 0.4;
263263
padding: 0.4em;
264264
cursor: pointer;
@@ -279,7 +279,7 @@ li.inlineList {
279279
.headerSquare.selected,
280280
#defaultSquare.selected {
281281
opacity: 1;
282-
height: 10vh;
282+
height: 6vw;
283283
box-shadow: 2px 7px 5px rgba(0, 0, 0, 0.4), 0px -4px 10px rgba(0, 0, 0, 0.4);
284284
background-color: rgba(0, 0, 0, 0.3);
285285
}

0 commit comments

Comments
 (0)