Skip to content

A self-hosted media server and file management system

fix: style consistency

aminnausin6b8c85fb9a0d
diff --git a/resources/js/components/cards/data/attachments/FontCard.vue b/resources/js/components/cards/data/attachments/FontCard.vue
index bddfc605..4c8626f4 100644
--- a/resources/js/components/cards/data/attachments/FontCard.vue
+++ b/resources/js/components/cards/data/attachments/FontCard.vue
@@ -6,7 +6,7 @@ import { formatFileSize, toFormattedDate } from '@/service/util';
defineProps<{ data: FontInfoResource }>();
</script>
<template>
- <div class="data-card text-foreground-2 w-full space-y-2 rounded-lg px-3 py-2 shadow-sm" v-if="data">
+ <div class="data-card text-foreground-2 w-full space-y-2 rounded-lg p-3 shadow-sm" v-if="data">
<div class="space-y-1">
<p class="text-foreground-0 truncate">{{ data.file_name }}</p>
</div>
diff --git a/resources/js/components/cards/data/attachments/SubtitleCard.vue b/resources/js/components/cards/data/attachments/SubtitleCard.vue
index b26940c3..94343a08 100644
--- a/resources/js/components/cards/data/attachments/SubtitleCard.vue
+++ b/resources/js/components/cards/data/attachments/SubtitleCard.vue
@@ -22,7 +22,7 @@ const parseSubtitleFormat = (format?: string) => {
};
</script>
<template>
- <div class="data-card text-foreground-2 w-full space-y-2 rounded-lg px-3 py-2 shadow-sm">
+ <div class="data-card text-foreground-2 w-full space-y-2 rounded-lg p-3 shadow-sm">
<div class="flex items-center justify-between gap-2">
<p class="text-foreground-0 truncate">
<span class="text-foreground-2 font-normal">{{ track.track_id }}.</span>