Skip to content

Commit

Permalink
fixed query for lists and col-left
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-valim authored and josevalim committed Oct 19, 2022
1 parent b205673 commit 5390ec6
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions assets/css/content/cheatsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,25 +253,16 @@
column-count: 2;
column-gap: 40px;
}
}

@media (max-width: 1200px) {
.page-cheatmd section.col-3,
.page-cheatmd section.col-2 {
column-count: 1;
}
}

@media (max-width: 850px) {
.page-cheatmd section.col-2-left {
display: block;
column-count: 1;
}
}

@media (max-width: 850px) {
.page-cheatmd section.col-2-left {
display: block;
@media (max-width: 1200px) {
.page-cheatmd section.col-3,
.page-cheatmd section.col-2 {
column-count: 1;
}

Expand All @@ -280,7 +271,7 @@
}
}

@media (max-width: 768px) {
@media (max-width: 1000px) {
.page-cheatmd section.col-4 > ul > li {
flex: 0 0 33%;
}
Expand All @@ -290,17 +281,7 @@
}
}

@media (max-width: 680px) {
.page-cheatmd section.col-3 {
column-count: 1;
}

.page-cheatmd section.col-2 {
column-count: 1;
}
}

@media (max-width: 480px) {
@media (max-width: 600px) {
.page-cheatmd section.col-4 > ul > li {
flex: 0 0 50%;
}
Expand Down

0 comments on commit 5390ec6

Please sign in to comment.