Skip to content

Commit 8fb9f9b

Browse files
committed
mobile libs
1 parent ed3db6a commit 8fb9f9b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

_includes/css/styles.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,14 @@ body {
8888

8989
.repo-container {
9090
display: grid;
91-
grid-template-columns: repeat(3, 1fr); /* Two columns with equal width */
92-
gap: 0px; /* Adjust the gap between items as needed */
91+
grid-template-columns: repeat(3, 1fr);
92+
gap: 0px;
93+
}
94+
95+
@media (max-width: 768px) {
96+
.repo-container {
97+
grid-template-columns: repeat(2, 1fr);
98+
}
9399
}
94100

95101

0 commit comments

Comments
 (0)