Skip to content

A self-hosted media server and file management system

fix ambient player appearing on top of ui

aminnausin8b72db5852e4
diff --git a/resources/js/components/panels/NavBar.vue b/resources/js/components/panels/NavBar.vue
index 73aedb46..b557065e 100755
--- a/resources/js/components/panels/NavBar.vue
+++ b/resources/js/components/panels/NavBar.vue
@@ -42,15 +42,10 @@ watch(userData, handleAuthEvent, { immediate: false });
</script>
<template>
- <nav id="navbar" class="flex py-1 gap-2 flex-wrap justify-between">
+ <nav id="navbar" class="flex py-1 gap-2 flex-wrap justify-between z-20">
<span class="flex items-end sm:items-center gap-2 justify-between w-full flex-1 min-w-fit">
<h1 id="title" class="text-2xl truncate capitalize">{{ pageTitle }}</h1>
- <section
- id="user-options"
- class="group inline-block relative shrink-0"
- data-dropdown-toggle="user-dropdown"
- aria-haspopup="true"
- >
+ <section id="user-options" class="group inline-block relative shrink-0" data-dropdown-toggle="user-dropdown" aria-haspopup="true">
<DropdownMenu :dropdownOpen="showDropdown" @toggleDropdown="showDropdown = false">
<template #trigger
><button
@@ -70,9 +65,7 @@ watch(userData, handleAuthEvent, { immediate: false });
</DropdownMenu>
</section>
</span>
- <span
- class="flex flex-wrap sm:flex-nowrap sm:max-w-sm items-center gap-1 sm:shrink-0 justify-end sm:justify-normal sm:w-auto ml-auto"
- >
+ <span class="flex flex-wrap sm:flex-nowrap sm:max-w-sm items-center gap-1 sm:shrink-0 justify-end sm:justify-normal sm:w-auto ml-auto">
<section id="navbar-video" class="flex items-center gap-1 text-slate-900 antialiased">
<NavButton v-if="username" @click="cycleSideBar('notifications')" :label="'notifications'" class="hidden">
<template #icon>
diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vue
index fc148040..6fa0916e 100755
--- a/resources/js/components/video/VideoInfoPanel.vue
+++ b/resources/js/components/video/VideoInfoPanel.vue
@@ -64,7 +64,7 @@ watch(() => stateVideo.value, handlePropsUpdate, { immediate: true, deep: true }
</script>
<template>
- <div class="flex flex-col sm:flex-row gap-2 sm:gap-4 p-3 overflow-clip w-full rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-primary-800">
+ <div class="flex flex-col sm:flex-row gap-2 sm:gap-4 p-3 overflow-clip w-full rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-primary-800 z-20">
<div id="mp4-header-mobile" class="flex items-center justify-between w-full sm:hidden gap-2 flex-wrap">
<h2 class="text-xl font-medium line-clamp-1 capitalize">
{{ metaData?.fields.title ?? '[Video Name]' }}