Skip to content

A self-hosted media server and file management system

fix: sidebar padding and scroll gutter bg colour

aminnausin6027f880446c
diff --git a/resources/js/components/panels/VideoSidebar.vue b/resources/js/components/panels/VideoSidebar.vue
index 76b77ef4..41f7d38a 100755
--- a/resources/js/components/panels/VideoSidebar.vue
+++ b/resources/js/components/panels/VideoSidebar.vue
@@ -61,7 +61,7 @@ watch(
</script>
<template>
- <div class="p-3 flex flex-col gap-3">
+ <div class="p-3 px-6 lg:px-3 flex flex-col gap-3">
<div class="flex py-1 flex-col gap-2">
<h1 id="sidebar-title" class="text-2xl h-8 w-full capitalize dark:text-white">{{ selectedSideBar }}</h1>
<hr class="" />
diff --git a/resources/js/layouts/LayoutBase.vue b/resources/js/layouts/LayoutBase.vue
index b2edfdee..bd4bfdb4 100755
--- a/resources/js/layouts/LayoutBase.vue
+++ b/resources/js/layouts/LayoutBase.vue
@@ -9,8 +9,6 @@ const { selectedSideBar, sideBarTarget, scrollLock } = storeToRefs(useAppStore()
const bodyStyles = ref<Record<string, string>>({});
-const scrollBody = ref(null);
-
watch(
() => scrollLock.value,
async (newVal) => {
@@ -58,12 +56,11 @@ watch(
}
}
"
- ref="scrollBody"
>
<!-- overflow-y-hidden -->
<!-- class="flex p-6 gap-6 flex-wrap lg:flex-nowrap snap-y bg-primary-950 dark:bg-primary-dark-950 dark:text-[#e2e0e2] font-sans text-gray-900 antialiased" -->
<main
- class="grid grid-cols-1 lg:grid-cols-10 2xl:grid-cols-6 sm:p-6 gap-6 snap-y bg-primary-900 dark:bg-primary-dark-900 sm:bg-primary-950 sm:dark:bg-primary-dark-950 dark:text-[#e2e0e2] font-sans text-gray-900 antialiased overflow-x-clip"
+ class="h-full md:h-auto grid grid-cols-1 lg:grid-cols-10 2xl:grid-cols-6 sm:p-6 gap-6 snap-y bg-primary-900 dark:bg-primary-dark-900 sm:bg-primary-950 sm:dark:bg-primary-dark-950 dark:text-[#e2e0e2] font-sans text-gray-900 antialiased overflow-x-clip"
>
<section
id="left-card"
diff --git a/resources/js/views/DashboardView.vue b/resources/js/views/DashboardView.vue
index 86754210..0fcf8907 100644
--- a/resources/js/views/DashboardView.vue
+++ b/resources/js/views/DashboardView.vue
@@ -118,7 +118,7 @@ watch(
</section>
</template>
<template v-slot:leftSidebar>
- <div class="p-3 flex flex-col gap-3">
+ <div class="p-3 px-6 lg:px-3 flex flex-col gap-3">
<div class="flex py-1 flex-col gap-2">
<h1 id="sidebar-title" class="text-2xl h-8 w-full capitalize dark:text-white">{{ selectedSideBar }}</h1>
<hr class="" />
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index 9c5ed651..55bc08b1 100755
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -29,7 +29,7 @@
</style>
</head>
-<body class="bg-primary-950 dark:bg-primary-dark-950 dark:text-[#e2e0e2] font-sans text-gray-900 antialiased dark:[color-scheme:dark]" id="root"> <!-- dark:bg-[#121216] dark:text-[#e2e0e2] text-gray-900 -->
+<body class="bg-primary-900 dark:bg-primary-dark-900 sm:bg-primary-950 sm:dark:bg-primary-dark-950 dark:text-[#e2e0e2] font-sans text-gray-900 antialiased dark:[color-scheme:dark]" id="root"> <!-- dark:bg-[#121216] dark:text-[#e2e0e2] text-gray-900 -->
<div id="reverb-config" data-reverb-config='
@json(["key" => config("reverb.apps.apps.0.key"), "host" => config("reverb.apps.apps.0.options.host"), "port" => config("reverb.apps.apps.0.options.port")])'></div>
@vite('resources/js/app.ts')