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:
geoffrey45
2022-08-01 00:23:39 +03:00
parent b522069d8e
commit 8fa0516b56
10 changed files with 155 additions and 63 deletions
+12 -17
View File
@@ -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>
+2 -1
View File
@@ -130,9 +130,10 @@ function getTracks() {
}
.table {
width: 100%;
height: 100%;
overflow-y: hidden;
background-color: $gray5;
padding: $small 0;
.current {
a {