Skip to content

Commit 831d894

Browse files
committed
style: mobile view
1 parent 20c122e commit 831d894

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

001-expanding cards/style.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,13 @@ body {
5757
width: 100vw;
5858
}
5959

60-
.panel:nth-of-type(4),
61-
.panel:nth-of-type(5) {
62-
display: none;
60+
.panel {
61+
flex: 1;
62+
margin: 5px;
63+
height: 40vh;
64+
}
65+
66+
.panel.active {
67+
flex: 3;
6368
}
6469
}

0 commit comments

Comments
 (0)