mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
remove songlist table header
This commit is contained in:
committed by
Mungai Geoffrey
parent
d830412035
commit
5bc0eaf8e6
@@ -1,13 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="folder">
|
<div class="folder">
|
||||||
<div class="table rounded" v-if="tracks.length">
|
<div class="table rounded" v-if="tracks.length">
|
||||||
<div class="thead">
|
|
||||||
<div class="index"></div>
|
|
||||||
<div class="track-header">Track</div>
|
|
||||||
<div class="artists-header">Artist</div>
|
|
||||||
<div class="album-header">Album</div>
|
|
||||||
<div class="duration-header">Duration</div>
|
|
||||||
</div>
|
|
||||||
<div class="songlist">
|
<div class="songlist">
|
||||||
<SongItem
|
<SongItem
|
||||||
v-for="track in getTracks()"
|
v-for="track in getTracks()"
|
||||||
@@ -116,47 +109,6 @@ function getTracks() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.thead {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1.5rem 1.5fr 1fr 1.5fr 0.25fr;
|
|
||||||
height: 2.5rem;
|
|
||||||
align-items: center;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-weight: bold;
|
|
||||||
color: $gray1;
|
|
||||||
gap: $small;
|
|
||||||
|
|
||||||
@include tablet-landscape {
|
|
||||||
grid-template-columns: 1.5rem 1.5fr 1fr 1.5fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include tablet-portrait {
|
|
||||||
grid-template-columns: 1.5rem 1.5fr 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include phone-only {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.duration-header {
|
|
||||||
@include tablet-landscape {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
width: 6rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.album-header {
|
|
||||||
@include tablet-portrait {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.songlist {
|
.songlist {
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ function emitUpdate(track: Track) {
|
|||||||
.songlist-item {
|
.songlist-item {
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
grid-template-columns: 1.5rem 1.5fr 1fr 1.5fr 0.25fr 2.5rem;
|
grid-template-columns: 1.5rem 1.5fr 1fr 1.5fr 2rem 2.5rem;
|
||||||
height: 3.75rem;
|
height: 3.75rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
gap: $small;
|
gap: $small;
|
||||||
@@ -192,7 +192,7 @@ function emitUpdate(track: Track) {
|
|||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
width: 5rem !important;
|
width: 5rem !important;
|
||||||
|
|
||||||
text-align: right;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.options-icon {
|
.options-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user