Skip to content

Commit b4a25c4

Browse files
Vertically center text a bit more
1 parent b633df7 commit b4a25c4

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/layouts/default/PlayerOSD/PlayerFullscreen.vue

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
store.activePlayer?.powered != false &&
177177
store.curQueueItem?.streamdetails
178178
"
179-
style="margin: auto; padding-top: min(20px, 2vh)"
179+
style="padding-top: min(20px, 2vh)"
180180
>
181181
<QualityDetailsBtn />
182182
</div>
@@ -737,15 +737,15 @@ const titleFontSize = computed(() => {
737737
case "xs":
738738
return "1.2em";
739739
case "sm":
740-
return "1.4em";
741-
case "md":
742740
return "1.5em";
741+
case "md":
742+
return "1.7em";
743743
case "lg":
744-
return store.showQueueItems ? "1.4em" : "1.8em";
745-
case "xl":
746744
return store.showQueueItems ? "1.5em" : "2em";
747-
case "xxl":
745+
case "xl":
748746
return store.showQueueItems ? "1.6em" : "2.2em";
747+
case "xxl":
748+
return store.showQueueItems ? "1.7em" : "2.4em";
749749
default:
750750
return "1.0em";
751751
}
@@ -756,15 +756,15 @@ const subTitleFontSize = computed(() => {
756756
case "xs":
757757
return "1.05em";
758758
case "sm":
759-
return "1.15em";
759+
return "1.25em";
760760
case "md":
761-
return "1.2em";
761+
return "1.35em";
762762
case "lg":
763-
return store.showQueueItems ? "1.0em" : "1.3em";
763+
return store.showQueueItems ? "1.1em" : "1.45em";
764764
case "xl":
765-
return store.showQueueItems ? "1.1em" : "1.5em";
766-
case "xxl":
767765
return store.showQueueItems ? "1.2em" : "1.6em";
766+
case "xxl":
767+
return store.showQueueItems ? "1.3em" : "1.8em";
768768
default:
769769
return "1.0em";
770770
}
@@ -1478,6 +1478,9 @@ watchEffect(() => {
14781478
flex: 50%;
14791479
max-width: 100%;
14801480
width: 50%;
1481+
height: 100%;
1482+
display: flex !important;
1483+
flex-direction: column;
14811484
}
14821485
14831486
.main-queue-items {

0 commit comments

Comments
 (0)