Skip to content

Commit

Permalink
Optimize layout
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Nov 30, 2019
1 parent 6c7f8af commit 52f7785
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/renderer/views/Album/components/newalbum.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
<style lang="less" scoped>
.albums {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(141px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(141px, 1fr));
grid-gap: 20px;
padding: 20px 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Artist/_id/album.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
<style lang="less" scoped>
.albums {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(141px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(141px, 1fr));
grid-gap: 15px;
padding: 15px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Artist/_id/mv.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default {
<style lang="less" scoped>
.mvs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(16%, 1fr));
grid-template-columns: repeat(auto-fill, minmax(16%, 1fr));
grid-gap: 15px;
padding: 15px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Artist/_id/simi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
<style lang="less" scoped>
.simi {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
grid-gap: 15px;
padding: 15px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Artist/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export default {
.page-artist {
.artists {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15%,1fr));
grid-template-columns: repeat(auto-fill, minmax(15%,1fr));
grid-gap: 15px;
padding: 15px 0;
a {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Playlist/_id/subscriber.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default {
page-break-after: 20px;
.items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
padding: 30px;
grid-gap: 40px;
a {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Playlist/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default {
@gutter: 12px;
.playlists {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
grid-gap: 20px;
padding: 20px 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Rank/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default {
}
.first-four {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
grid-gap: 2%;
.list {
border: 1px solid #e8e8e8;
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Search/components/video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
<style lang="less" scoped>
.videos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
padding: 15px 20px;
grid-gap: 20px;
}
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/views/User/Collect/components/Video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export default {
<style lang="less" scoped>
.videos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
grid-gap: 15px;
padding: 15px 0;
&.videos-hack {
grid-template-columns: repeat(auto-fit, minmax(245px, 245px));
grid-template-columns: repeat(auto-fill, minmax(245px, 245px));
}
}
</style>
2 changes: 1 addition & 1 deletion src/renderer/views/Video/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default {
min-height: 100vh;
.videos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
grid-gap: 15px;
padding: 15px 0;
.video {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Video/mv.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default {
<style lang="less" scoped>
.mvs {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
grid-gap: 15px;
padding: 15px 0;
}
Expand Down

0 comments on commit 52f7785

Please sign in to comment.