A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: chip tag shadow clipping
aminnausin5a1191898a51
diff --git a/resources/js/components/cards/FolderCard.vue b/resources/js/components/cards/FolderCard.vueindex 38a241e1..821f37a5 100755--- a/resources/js/components/cards/FolderCard.vue+++ b/resources/js/components/cards/FolderCard.vue@@ -106,14 +106,14 @@ const contextMenuItems = computed(() => {</span><sectionv-if="props.data.series?.folder_tags?.length"- class="flex gap-1 p-3 sm:p-0 pt-0 transition-[max-height] sm:max-h-[0px] md:group-hover:max-h-[30px] w-full overflow-hidden flex-wrap"+ class="flex gap-1 p-3 sm:p-0 pt-0 transition-all sm:max-h-[0px] md:group-hover:max-h-[26px] md:group-hover:pt-1 w-full overflow-clip flex-wrap group-hover:[overflow-clip-margin:4px]"title="Tags"><ChipTagv-for="(tag, index) in props.data.series.folder_tags"v-bind:key="index":label="tag.name"- :colour="'bg-neutral-200 leading-none text-neutral-500 shadow dark:bg-neutral-900 hover:bg-violet-600 hover:text-neutral-50 hover:dark:bg-violet-600/90 !max-h-[22px] sm:mt-2'"+ :colour="'bg-neutral-200 leading-none text-neutral-500 shadow dark:bg-neutral-900 hover:bg-violet-600 hover:text-neutral-50 hover:dark:bg-violet-600/90 !max-h-[22px]'"/></section></RouterLink>diff --git a/resources/js/components/cards/VideoCard.vue b/resources/js/components/cards/VideoCard.vueindex 8f54235d..d5125baf 100755--- a/resources/js/components/cards/VideoCard.vue+++ b/resources/js/components/cards/VideoCard.vue@@ -113,7 +113,7 @@ watch(<spanv-if="props.data.video_tags.length"- class="hidden sm:flex flex-wrap gap-1 max-h-[22px] px-2 flex-1 overflow-y-auto scrollbar-minimal scrollbar-hover"+ class="hidden sm:flex flex-wrap gap-1 max-h-[22px] px-2 flex-1 overflow-clip [overflow-clip-margin:4px] hover:overflow-y-auto scrollbar-minimal scrollbar-hover"title="Tags"><ChipTag@@ -129,7 +129,11 @@ watch({{ toFormattedDate(new Date(props.data?.date_uploaded ?? props.data.date + ' GMT')) }}</h4>- <span v-if="props.data.video_tags.length" class="sm:hidden w-full flex flex-wrap gap-1 scrollbar-minimal scrollbar-hover" title="Tags">+ <span+ v-if="props.data.video_tags.length"+ class="sm:hidden w-full flex flex-wrap gap-1 overflow-clip [overflow-clip-margin:4px] hover:overflow-y-auto scrollbar-minimal scrollbar-hover"+ title="Tags"+ ><ChipTagv-for="(tag, index) in props.data?.video_tags"v-bind:key="index"diff --git a/resources/js/components/labels/ChipTag.vue b/resources/js/components/labels/ChipTag.vueindex f6e5ef5f..0c736b2b 100644--- a/resources/js/components/labels/ChipTag.vue+++ b/resources/js/components/labels/ChipTag.vue@@ -8,7 +8,7 @@ const props = defineProps(['label', 'colour', 'textClass', 'URL', 'removeable'])<template><RouterLinkv-if="props.URL"- :class="`p-1 px-2 text-sm ${props.textClass ?? ''} leading-none rounded-xl truncate lowercase text-neutral-100 dark:text-neutral-300 ${props.colour ? `${props.colour}` : 'bg-violet-600 dark:bg-violet-900/90'} shrink-0 transition-colors duration-200 `"+ :class="`p-1 px-2 text-sm ${props.textClass ? `${props.textClass} ` : ''}leading-none rounded-xl truncate lowercase text-neutral-100 dark:text-neutral-300 ${props.colour ? `${props.colour}` : 'bg-violet-600 dark:bg-violet-900/90'} shrink-0 transition-colors duration-200 `":to="props.URL">{{ props.label }}@@ -23,7 +23,7 @@ const props = defineProps(['label', 'colour', 'textClass', 'URL', 'removeable'])</RouterLink><pv-else- :class="`p-1 px-2 text-sm ${props.textClass ?? ''} leading-none rounded-xl truncate lowercase text-neutral-100 dark:text-neutral-300 ${props.colour ? `${props.colour}` : 'bg-violet-600 dark:bg-violet-900/90'} shrink-0 transition-colors duration-200 cursor-default ${removeable ? 'flex gap-1 items-center justify-between' : ''}`"+ :class="`p-1 px-2 text-sm ${props.textClass ? `${props.textClass} ` : ''}leading-none rounded-xl truncate lowercase text-neutral-100 dark:text-neutral-300 ${props.colour ? `${props.colour}` : 'bg-violet-600 dark:bg-violet-900/90'} shrink-0 transition-colors duration-200 cursor-default ${removeable ? 'flex gap-1 items-center justify-between' : ''}`">{{ props.label }}<ButtonCornerdiff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vueindex 7c1344f8..7779f701 100755--- a/resources/js/components/video/VideoInfoPanel.vue+++ b/resources/js/components/video/VideoInfoPanel.vue@@ -107,7 +107,7 @@ watch(<h2 class="text-xl font-medium truncate capitalize">{{ metaData?.fields.title ?? '[File Not Found]' }}</h2>- <span v-if="(stateVideo?.video_tags?.length ?? 0) > 0" :class="`flex gap-1 flex-row flex-wrap h-[22px] overflow-hidden`">+ <span v-if="(stateVideo?.video_tags?.length ?? 0) > 0" :class="`flex gap-1 flex-row flex-wrap h-[22px] overflow-clip`"><ChipTag v-for="(tag, index) in stateVideo?.video_tags" v-bind:key="index" :label="tag.name" /></span></div>@@ -210,10 +210,8 @@ watch(</template></ButtonIcon></section>- <section class="flex flex-col justify-end text-end text-sm dark:text-slate-400 text-slate-500 max-w-full overflow-clip gap-1">- <span class="flex gap-1 flex-row flex-wrap max-h-[22px] justify-end">- <ChipTag v-for="(tag, index) in stateVideo?.video_tags" v-bind:key="index" :label="tag.name" />- </span>+ <section class="flex justify-end text-end text-sm dark:text-slate-400 text-slate-500 max-w-full overflow-clip [overflow-clip-margin:4px] gap-1 flex-wrap max-h-[22px]">+ <ChipTag v-for="(tag, index) in stateVideo?.video_tags" v-bind:key="index" :label="tag.name" /></section></div></div>