Skip to content

Commit 87499e4

Browse files
authored
fix: update DoDont.module.css (#34)
Co-authored-by: Jaem <91131509+DarkChocoJaem@users.noreply.github.com>
1 parent 124a051 commit 87499e4

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

components/DoDont/DoDont.module.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
.container {
22
display: grid;
3-
grid-template-columns: repeat(2, 1fr);
3+
grid-template-columns: 1fr;
44
gap: 1rem;
55
}
66

7+
@media (min-width: 768px) {
8+
.container {
9+
grid-template-columns: repeat(2, 1fr);
10+
}
11+
}
12+
713
.directive {
814
border-style: solid;
915
border-width: 1px;
1016
border-radius: 0.375rem;
1117
padding: 1rem;
1218
margin-bottom: 1rem;
19+
overflow: hidden;
20+
}
21+
22+
.directive pre {
23+
overflow-x: auto;
24+
max-width: 100%;
1325
}
1426

1527
.directiveTitle {

0 commit comments

Comments
 (0)