mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
feat(design): better styling for artist/album cards
This commit is contained in:
parent
38a41083a7
commit
d45096b931
2 changed files with 4 additions and 9 deletions
|
@ -52,8 +52,6 @@
|
|||
</span>
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
<span class="backdrop" :style="{ backgroundImage: `url(${album.cover})` }"/>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
border: 1px solid var(--color-bg-secondary);
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
|
||||
.thumbnail-wrapper {
|
||||
overflow: hidden;
|
||||
|
@ -51,7 +54,7 @@
|
|||
}
|
||||
|
||||
&.compact {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
|
@ -62,15 +65,9 @@
|
|||
width: 80px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
footer {
|
||||
flex: 1;
|
||||
padding: 0 16px;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
padding-top: 16px;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue