visual tweak

This commit is contained in:
kyw504100 2022-02-25 23:33:34 +08:00
parent 77c8508561
commit 916e5e4fd6
No known key found for this signature in database
GPG key ID: 9116E2159A0521FD
3 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@
</span> </span>
<button class="playlist-item" @click="entry.onClick(); closeMenu();" v-for="entry in app.pluginMenuEntries"> <button class="playlist-item" @click="entry.onClick(); closeMenu();" v-for="entry in app.pluginMenuEntries">
<span class="icon"><%- include("../svg/grid.svg") %></span> <span class="icon"><%- include("../svg/grid.svg") %></span>
<span class="name" style="top: 1px;">{{ entry.name }}</span> <span class="name" style="top: 0.5px;">{{ entry.name }}</span>
</button> </button>
</div> </div>
</div> </div>

View file

@ -65,19 +65,19 @@
</mediaitem-square> </mediaitem-square>
</div> </div>
</div> </div>
<div class="col-sm-9" v-if="data.views['top-songs']"> <div class="col-sm-12" v-if="data.views['top-songs']">
<div class="row"> <div class="row">
<div class="col" style="padding:0;"> <div class="col" style="padding:0;">
<h3>{{app.getLz('term.topSongs')}}</h3> <h3>{{app.getLz('term.topSongs')}}</h3>
</div> </div>
<div class="col-auto flex-center" v-if="data.views['top-songs'].data.length >= 16" style="padding:0;"> <div class="col-auto flex-center" v-if="data.views['top-songs'].data.length >= 20" style="padding:0;">
<button class="cd-btn-seeall" @click="app.showArtistView(data.id, data.attributes.name + ' - Top Songs', 'top-songs')">{{app.getLz('term.seeAll')}}</button> <button class="cd-btn-seeall" @click="app.showArtistView(data.id, data.attributes.name + ' - Top Songs', 'top-songs')">{{app.getLz('term.seeAll')}}</button>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col flex-center" style="padding:0;"> <div class="col flex-center" style="padding:0;">
<div class="mediaitem-list-item__grid"> <div class="mediaitem-list-item__grid">
<listitem-horizontal :items="data.views['top-songs'].data.limit(16)"> <listitem-horizontal :items="data.views['top-songs'].data.limit(20)">
</listitem-horizontal> </listitem-horizontal>
</div> </div>
</div> </div>

View file

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cast"><path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"/><line x1="2" y1="20" x2="2.01" y2="20"/></svg> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cast"><path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"/><line x1="2" y1="20" x2="2.01" y2="20"/></svg>

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 375 B

Before After
Before After