Skip to content

Commit

Permalink
improve grid style
Browse files Browse the repository at this point in the history
  • Loading branch information
srgooglo committed Oct 10, 2023
1 parent 4786cb3 commit 95bfe86
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions packages/app/src/pages/music/components/explore/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ html {
grid-template-columns: repeat(3, minmax(0, 1fr));

min-width: 372px !important;

@media (min-width: 2000px) {
grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 2300px) {
grid-template-columns: repeat(5, 1fr);
}

.playlistItem {
justify-self: center;
}
}
}
}
Expand Down Expand Up @@ -129,10 +141,10 @@ html {
}

.playlistItem_bottom {
display: flex!important;
display: flex !important;
position: absolute;

top:0;
top: 0;
right: 0;

padding: 10px;
Expand Down Expand Up @@ -203,7 +215,7 @@ html {

max-width: 300px;
width: 100%;

height: @playlistItem_height;

padding: @playlistItem_padding;
Expand All @@ -215,6 +227,7 @@ html {
min-height: @playlistItem_cover_size;
min-width: @playlistItem_cover_size;
}

.playlistItem_bottom {
display: none;
}
Expand Down

0 comments on commit 95bfe86

Please sign in to comment.