remove songlist table header

This commit is contained in:
geoffrey45
2022-07-02 12:53:41 +03:00
committed by Mungai Geoffrey
parent d830412035
commit 5bc0eaf8e6
2 changed files with 2 additions and 50 deletions
-48
View File
@@ -1,13 +1,6 @@
<template>
<div class="folder">
<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">
<SongItem
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 {
scrollbar-width: none;
&::-webkit-scrollbar {
+2 -2
View File
@@ -122,7 +122,7 @@ function emitUpdate(track: Track) {
.songlist-item {
display: grid;
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;
text-align: left;
gap: $small;
@@ -192,7 +192,7 @@ function emitUpdate(track: Track) {
font-size: 0.9rem;
width: 5rem !important;
text-align: right;
text-align: left;
}
.options-icon {