Skip to content

A self-hosted media server and file management system

revert: put tags at the bottom of video card on mobile

aminnausin06e33a0cbb98
diff --git a/resources/js/components/cards/data/VideoCard.vue b/resources/js/components/cards/data/VideoCard.vue
index 98975e89..8a745188 100644
--- a/resources/js/components/cards/data/VideoCard.vue
+++ b/resources/js/components/cards/data/VideoCard.vue
@@ -2,7 +2,7 @@
import type { ContextMenuItem } from '@/types/types';
import type { VideoResource } from '@/types/resources';
-import { formatFileSize, handleStorageURL, toFormattedDate, toFormattedDuration, toPlural } from '@/service/util';
+import { formatFileSize, handleStorageURL, toFormattedDate, toPlural } from '@/service/util';
import { computed, toRef, useTemplateRef } from 'vue';
import { getMediaDateDescription } from '@/service/media/mediaFormatter';
import { handleEditMediaImages } from '@/service/media/mediaActions';
@@ -210,7 +210,7 @@ const dateInformation = computed(() => getMediaDateDescription(videoData));
<ProiconsInfoSquare v-else class="size-5" />
</template>
<template #content>
- <div class="text-foreground-1 flex gap-1 overflow-clip text-sm uppercase *:text-nowrap sm:min-w-fit">
+ <div class="text-foreground-1 flex gap-1 overflow-clip uppercase *:text-nowrap sm:min-w-fit">
<span v-if="videoData.file_size" :title="`File Size: ${formatFileSize(videoData.file_size)}`">
{{ formatFileSize(videoData.file_size) }}
</span>
@@ -236,7 +236,7 @@ const dateInformation = computed(() => getMediaDateDescription(videoData));
</div>
<span
v-if="videoData.video_tags.length"
- class="3xl:h-5.5 3xl:gap-1 3xl:*:text-sm order-2 flex w-full flex-wrap gap-0.5 overflow-clip [overflow-clip-margin:4px] *:w-fit *:text-xs sm:order-0 sm:h-5 sm:flex-1 sm:gap-y-2"
+ class="3xl:h-5.5 3xl:gap-1 3xl:*:text-sm -order-1 flex w-full flex-wrap gap-0.5 overflow-clip [overflow-clip-margin:4px] *:w-fit *:text-xs sm:order-0 sm:h-5 sm:flex-1 sm:gap-y-2"
title="Tags"
>
<MediaTag v-for="(tag, index) in videoData.video_tags" :key="index" :label="tag.name" />