Skip to content

Commit

Permalink
style: fix some styles in mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarkkkk committed Jul 30, 2024
1 parent e497e7e commit c5b5087
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/pages/Home/components/NewAlbums.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ onMounted(() => {
<style lang="scss">
#new-albums {
@media (max-width: 640px) {
height: 1586px;
height: 1700px;
}
@media (max-width: 1024px) {
.album {
Expand Down
12 changes: 2 additions & 10 deletions src/pages/Home/components/NewSongs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,8 @@ onMounted(() => {

<style lang="scss">
#new-songs {
@media (min-width: 768px) {
.list {
height: calc(100vh - 400px);
}
}
@media (max-width: 640px) {
.list {
min-height: 663px;
}
.list {
height: calc(100vh - 400px);
}
}
</style>
6 changes: 2 additions & 4 deletions src/pages/Home/components/RecommandSongs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ watch(

<style lang="scss">
#recommand-songs {
@media (min-width: 768px) {
.list {
height: calc(100vh - 400px);
}
.list {
height: calc(100vh - 400px);
}
.song-list::after {
Expand Down

0 comments on commit c5b5087

Please sign in to comment.