mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
improve component spacing
+ bump up folder and album page gap to ~ 1rem + test out noise texture on album img on album page + ~ although i'm still annoyed about the scrollbar space irregularities (will fix someday)
This commit is contained in:
@@ -1,37 +1,32 @@
|
||||
<template>
|
||||
<div class="f-container rounded" :class="{ no_f: !props.folders.length }">
|
||||
<div id="f-items" v-if="props.folders.length">
|
||||
<div class="f-container rounded">
|
||||
<div id="f-items">
|
||||
<FolderItem
|
||||
v-for="folder in props.folders"
|
||||
:key="folder"
|
||||
v-for="folder in folders"
|
||||
:key="JSON.stringify(folder)"
|
||||
:folder="folder"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
<script setup lang="ts">
|
||||
import { Folder } from "@/interfaces";
|
||||
import FolderItem from "./FolderItem.vue";
|
||||
|
||||
const props = defineProps({
|
||||
folders: {
|
||||
type: Array,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
defineProps<{
|
||||
folders: Folder[];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
.no_f {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#f-items {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
|
||||
gap: $medium;
|
||||
border-bottom: 1px solid $gray3;
|
||||
padding-bottom: .55rem;
|
||||
padding: 1rem 0;
|
||||
padding-top: $small;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -130,9 +130,10 @@ function getTracks() {
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: hidden;
|
||||
background-color: $gray5;
|
||||
padding: $small 0;
|
||||
|
||||
.current {
|
||||
a {
|
||||
|
||||
Reference in New Issue
Block a user