Skip to content

Commit 98e01c4

Browse files
Fix: Improve Audio Pipeline menu on phones (#855)
* fix: limit width based on screen size * feat: decrease font size on smaller screens * fix: limit popup height
1 parent 3605afb commit 98e01c4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/components/QualityDetailsBtn.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
location="top center"
66
:close-on-content-click="false"
77
scrim
8+
:max-height="$vuetify.display.height - 150"
89
>
910
<template #activator="{ props }">
1011
<v-chip
@@ -30,7 +31,7 @@
3031
<div v-else-if="maxOutputQualityTier == QualityTier.HIRES">HR</div>
3132
</v-chip>
3233
</template>
33-
<v-card class="mx-auto" width="380">
34+
<v-card class="mx-auto" :width="Math.min($vuetify.display.width - 25, 380)">
3435
<v-list style="overflow: hidden">
3536
<div class="d-flex ml-2 mr-2">
3637
<!-- Second line showing audio stream shared by multiple players -->
@@ -819,6 +820,18 @@ export const iconFolder = new URL("@/assets/folder.svg", import.meta.url).href;
819820
align-items: center;
820821
}
821822
823+
@media (max-width: 400px) {
824+
.streamdetails-item {
825+
font-size: 0.9rem;
826+
}
827+
}
828+
829+
@media (max-width: 370px) {
830+
.streamdetails-item {
831+
font-size: 0.8rem;
832+
}
833+
}
834+
822835
.streamdetails-icon {
823836
height: 30px;
824837
width: 50px;

0 commit comments

Comments
 (0)