Skip to content

Commit 04e8c89

Browse files
committed
Fixed Height and Width of boxes
1 parent 14fbdb4 commit 04e8c89

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

website2.0/resources.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,17 @@ input:checked + .switch:before {
120120
align-items: center;
121121
flex-direction: column;
122122
margin-top: 5rem;
123-
}
123+
}
124+
125+
@media (max-width: 768px) {
126+
.folder-card {
127+
flex: 0 0 calc(50% - 120px); /* Two cards per row (adjust margin as needed) */
128+
}
129+
}
130+
131+
@media (max-width: 576px) {
132+
.folder-card {
133+
flex: 0 0 calc(100% - 120px); /* One card per row (adjust margin as needed) */
134+
}
135+
}
136+

0 commit comments

Comments
 (0)