more padding + margin edits

This commit is contained in:
geoffrey45
2022-08-02 03:12:28 +03:00
parent 9e1f73e281
commit e45dd6c2b1
5 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ defineProps<{
grid-template-columns: max-content 1fr;
padding-right: 1rem;
align-items: center;
background-color: $gray4;
background-color: $gray3;
transition: all 0.2s ease;
border-radius: 0.75rem;
+3 -4
View File
@@ -1,6 +1,6 @@
<template>
<div class="f-container rounded">
<div id="f-items">
<div id="f-items" class="rounded">
<FolderItem
v-for="folder in folders"
:key="JSON.stringify(folder)"
@@ -24,9 +24,8 @@ defineProps<{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
gap: $medium;
border-bottom: 1px solid $gray3;
padding: 1rem 0;
padding-top: 0;
padding: $small;
margin-bottom: 1rem;
background-color: $gray5;
}
</style>
+7 -5
View File
@@ -7,7 +7,7 @@
class="rounded"
v-model="search.query"
placeholder="Search your library"
type="text"
type="search"
@focus="focusThis()"
@blur="unfocusThis()"
/>
@@ -33,8 +33,9 @@ function unfocusThis() {
<style lang="scss">
#gsearch-input {
display: flex;
margin-bottom: $small;
height: max-content;
// margin-bottom: $smaller;
@include tablet-landscape {
display: none;
}
@@ -44,11 +45,12 @@ function unfocusThis() {
border-radius: 0.4rem;
position: relative;
display: flex;
gap: $small;
background-color: $red;
background-color: $gray4;
.icon {
width: 2rem;
width: 2.25rem;
aspect-ratio: 1;
background-image: url("../../assets/icons/search.svg");
background-size: 1.5rem;
margin-left: $smaller;
+4
View File
@@ -14,9 +14,13 @@
<style lang="scss">
#nav-search {
// border: solid 1px $gray2;
form {
display: flex;
gap: $small;
padding: 0;
margin: 0;
input[type="search"] {
background-color: $gray5;