mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix nav and folder banner text responsiveness
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user