Skip to content

Commit

Permalink
fix increase columns by one from 2 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiJarraya committed Sep 16, 2021
1 parent bd6c156 commit 846ddb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
13 changes: 0 additions & 13 deletions src/components/genres/GenreItem.module.css
Expand Up @@ -8,19 +8,6 @@
color: #fff;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
.genreItem {
grid-column-end: span 2;
}
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
.genreItem{
grid-column-end: span 4;
}
}


.centerContent{
Expand Down
3 changes: 1 addition & 2 deletions src/components/genres/GenreList.module.css
@@ -1,8 +1,7 @@
.grid {
display: grid;
gap: 20px;
grid-template-columns: repeat(8, 1fr);
grid-auto-rows: 80px;
grid-template-columns: repeat(auto-fill, minmax(100px, 10%));
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
Expand Down

0 comments on commit 846ddb2

Please sign in to comment.