fix nav and folder banner text responsiveness

This commit is contained in:
geoffrey45
2022-08-11 15:14:40 +03:00
parent 992d3a7003
commit 83d4690cd4
8 changed files with 61 additions and 24 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ const tabs = useTabStore();
.r-content {
grid-area: content;
// width: 29rem;
width: 100%;
width: 29rem;
// width: 100%;
// @include tablet-landscape {
// display: none;
@@ -5,9 +5,9 @@
<ClearSvg />
<span>Clear</span>
</button>
<button class="shuffle-queue action">
<SaveAsPlaylistSvg />
<span> Save as Playlist </span>
<button class="shuffle-queue action" @click="queue.shuffleQueue">
<ShuffleSvg />
<span>Shuffle</span>
</button>
</div>
<div class="right">
@@ -22,7 +22,7 @@
import useQueueStore from "../../../stores/queue";
import ClearSvg from "@/assets/icons/delete.svg";
import SaveAsPlaylistSvg from "@/assets/icons/sdcard.svg";
import ShuffleSvg from "@/assets/icons/shuffle.svg";
import MoreSvg from "@/assets/icons/more.svg";
const queue = useQueueStore();
@@ -26,7 +26,6 @@ import TracksGrid from "./TracksGrid.vue";
.right-search {
position: relative;
overflow: hidden;
width: auto;
height: 100%;
.heading {
+9 -6
View File
@@ -15,16 +15,16 @@
<div class="center rounded">
<Loader />
</div>
<div class="right">
<!-- <div class="right">
<Search />
</div>
</div> -->
</div>
</template>
<script setup lang="ts">
import NavButtons from "./NavButtons.vue";
import Loader from "../shared/Loader.vue";
import Search from "./Search.vue";
// import Search from "./Search.vue";
import { useRoute } from "vue-router";
import { ref, watch } from "vue";
import { Routes } from "@/composables/enums";
@@ -80,16 +80,19 @@ watch(
<style lang="scss">
.topnav {
display: grid;
grid-template-columns: 1fr min-content max-content;
grid-template-columns: 1fr min-content;
width: 100%;
gap: 1rem;
overflow: hidden;
.left {
display: grid;
grid-template-columns: max-content 1fr;
width: min-content;
overflow: scroll;
overflow: hidden;
.info {
overflow: hidden;
.title {
font-size: 1.5rem;
font-weight: bold;
+5 -3
View File
@@ -37,6 +37,8 @@ onUpdated(() => {
<style lang="scss">
#folder-nav-title {
width: 100%;
.folder {
display: flex;
gap: $small;
@@ -64,9 +66,9 @@ onUpdated(() => {
overflow: auto;
padding-right: $smaller;
@include for-desktop-down {
max-width: 9rem;
}
// @include for-desktop-down {
// max-width: 9rem;
// }
.icon {
height: 2rem;