Skip to content

Commit 5390ec6

Browse files
paulo-valimjosevalim
authored andcommitted
fixed query for lists and col-left
1 parent b205673 commit 5390ec6

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

assets/css/content/cheatsheet.css

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -253,25 +253,16 @@
253253
column-count: 2;
254254
column-gap: 40px;
255255
}
256-
}
257256

258-
@media (max-width: 1200px) {
259-
.page-cheatmd section.col-3,
260-
.page-cheatmd section.col-2 {
261-
column-count: 1;
262-
}
263-
}
264-
265-
@media (max-width: 850px) {
266257
.page-cheatmd section.col-2-left {
267258
display: block;
268259
column-count: 1;
269260
}
270261
}
271262

272-
@media (max-width: 850px) {
273-
.page-cheatmd section.col-2-left {
274-
display: block;
263+
@media (max-width: 1200px) {
264+
.page-cheatmd section.col-3,
265+
.page-cheatmd section.col-2 {
275266
column-count: 1;
276267
}
277268

@@ -280,7 +271,7 @@
280271
}
281272
}
282273

283-
@media (max-width: 768px) {
274+
@media (max-width: 1000px) {
284275
.page-cheatmd section.col-4 > ul > li {
285276
flex: 0 0 33%;
286277
}
@@ -290,17 +281,7 @@
290281
}
291282
}
292283

293-
@media (max-width: 680px) {
294-
.page-cheatmd section.col-3 {
295-
column-count: 1;
296-
}
297-
298-
.page-cheatmd section.col-2 {
299-
column-count: 1;
300-
}
301-
}
302-
303-
@media (max-width: 480px) {
284+
@media (max-width: 600px) {
304285
.page-cheatmd section.col-4 > ul > li {
305286
flex: 0 0 50%;
306287
}

0 commit comments

Comments
 (0)