A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
padding and make video info image larger + 3 lines of text
aminnausin7d9961957e28
diff --git a/resources/js/components/cards/CategoryCard.vue b/resources/js/components/cards/CategoryCard.vueindex c8b749ff..b84ffdd0 100644--- a/resources/js/components/cards/CategoryCard.vue+++ b/resources/js/components/cards/CategoryCard.vue@@ -87,7 +87,7 @@ watch(loading="lazy"/></RouterLink>- <section class="flex flex-1 h-full flex-col p-4 gap-2">+ <section class="flex flex-1 h-full flex-col p-3 gap-2"><div class="flex items-start justify-between flex-wrap"><h3 class="capitalize group-hover:text-purple-600">{{ data?.name }}diff --git a/resources/js/components/cards/DashboardCard.vue b/resources/js/components/cards/DashboardCard.vueindex b0f10ecf..0d805880 100644--- a/resources/js/components/cards/DashboardCard.vue+++ b/resources/js/components/cards/DashboardCard.vue@@ -19,14 +19,12 @@ const props = withDefaults(</script><template><div- :class="`flex col-span-${cols} row-span-${rows} flex-col gap-2 p-4 overflow-clip rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-white ring-1 ring-gray-900/5 w-full ${props.class}`"+ :class="`flex col-span-${cols} row-span-${rows} flex-col gap-2 p-3 overflow-clip rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-white ring-1 ring-gray-900/5 w-full ${props.class}`"><header class="flex flex-wrap justify-between items-center gap-4 mb-3 @md:mb-6"><div class="flex-1 basis-0 flex-grow-[10000] max-w-full"><div class="flex overflow-hidden gap-2 items-start">- <div- class="[&>svg]:flex-shrink-0 [&>svg]:w-6 [&>svg]:h-6 [&>svg]:stroke-gray-600/80 [&>svg]:dark:stroke-neutral-400/80 text-gray-400 dark:text-neutral-400/80"- >+ <div class="[&>svg]:flex-shrink-0 [&>svg]:w-6 [&>svg]:h-6 [&>svg]:stroke-gray-600/80 [&>svg]:dark:stroke-neutral-400/80 text-gray-400 dark:text-neutral-400/80"><slot name="icon"></slot></div><hgroup class="flex flex-wrap items-baseline gap-x-2 overflow-hidden">diff --git a/resources/js/components/cards/StatsCard.vue b/resources/js/components/cards/StatsCard.vueindex c97c2a21..c3a8fb17 100644--- a/resources/js/components/cards/StatsCard.vue+++ b/resources/js/components/cards/StatsCard.vue@@ -2,9 +2,7 @@const props = defineProps<{ title: string; data?: any[]; forceCount?: number; class?: string }>();</script><template>- <div- :class="`flex flex-col gap-2 p-4 overflow-clip rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-white ring-1 ring-gray-900/5 flex-1 w-1/3 ${props.class}`"- >+ <div :class="`flex flex-col gap-2 p-3 overflow-clip rounded-xl shadow-lg dark:bg-primary-dark-800/70 bg-white ring-1 ring-gray-900/5 flex-1 w-1/3 ${props.class}`"><span><slot name="icon"> </slot><p class="text-sm dark:text-slate-400 text-slate-500 max-w-full text-nowrap">{{ props.title }}</p>diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vueindex 54b0180a..b00d9613 100755--- a/resources/js/components/video/VideoInfoPanel.vue+++ b/resources/js/components/video/VideoInfoPanel.vue@@ -66,7 +66,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-4 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"><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]' }}@@ -77,10 +77,10 @@ watch(() => stateVideo.value, handlePropsUpdate, { immediate: true, deep: true }</div><div id="mp4-description-desktop" class="flex gap-4 sm:flex-1 shrink-0">- <div class="h-28 object-cover rounded-md shadow-md aspect-2/3 mb-auto relative group">+ <div class="h-32 my-auto object-cover rounded-md shadow-md aspect-2/3 mb-auto relative group"><imgid="folder-thumbnail"- class="h-28 object-cover rounded-md aspect-2/3 ring-1 ring-gray-900/5"+ class="h-full object-cover rounded-md aspect-2/3 ring-1 ring-gray-900/5":src="stateFolder?.series?.thumbnail_url ??'https://m.media-amazon.com/images/M/MV5BMjVjZGU5ZTktYTZiNC00N2Q1LThiZjMtMDVmZDljN2I3ZWIwXkEyXkFqcGdeQXVyMTUzMTg2ODkz._V1_.jpg'@@ -110,7 +110,7 @@ watch(() => stateVideo.value, handlePropsUpdate, { immediate: true, deep: true }<HoverCard :content="metaData?.fields?.description ?? defaultDescription" :hover-card-delay="800" :margin="10"><template #trigger><div- :class="`max-h-[3.75rem] sm:max-h-10 overflow-y-auto cursor-pointer+ :class="`min-h-[3.75rem] overflow-y-auto cursor-pointer[&::-webkit-scrollbar]:w-2[&::-webkit-scrollbar-track]:bg-transparent dark:[&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-track]:rounded-fullgroup-hover:[&::-webkit-scrollbar-thumb]:bg-gray-300 group-hover:dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 [&::-webkit-scrollbar-thumb]:rounded-full