Skip to content

A self-hosted media server and file management system

fix category card ui on firefox

aminnausin82cfc2397da6
diff --git a/resources/js/components/cards/CategoryCard.vue b/resources/js/components/cards/CategoryCard.vue
index 821bfb1b..6de0fd8a 100644
--- a/resources/js/components/cards/CategoryCard.vue
+++ b/resources/js/components/cards/CategoryCard.vue
@@ -107,7 +107,7 @@ watch(
<template #text> Scan </template>
<template #icon> <ProiconsArrowSync class="h-4 w-4" /></template>
</ButtonText> -->
- <ButtonIcon :title="'Open Library In New Tab'" :to="`/${data?.name}`">
+ <ButtonIcon :title="'Open Library In New Tab'" :to="`/${data?.name}`" :class="`!aspect-[auto]`">
<template #icon><CircumShare1 class="h-4 w-4" /></template>
</ButtonIcon>
<Popover popoverClass="!max-w-56 rounded-lg" :buttonClass="'!p-1 ml-auto'" ref="popover">
diff --git a/resources/js/components/cards/CategoryFolderCard.vue b/resources/js/components/cards/CategoryFolderCard.vue
index 7694bebc..e9514f4b 100644
--- a/resources/js/components/cards/CategoryFolderCard.vue
+++ b/resources/js/components/cards/CategoryFolderCard.vue
@@ -36,7 +36,7 @@ const popover = useTemplateRef('popover');
{{ data?.series?.title ?? data?.name }}
</h3>
<span class="flex gap-2 [&>*]:h-6 text-sm">
- <ButtonIcon :title="'Open Folder In New Tab'" :to="`/${data?.path}`">
+ <ButtonIcon :title="'Open Folder In New Tab'" :to="`/${data?.path}`" :class="`!aspect-[auto]`">
<template #icon><CircumShare1 class="h-4 w-4" /></template>
</ButtonIcon>
<Popover popoverClass="!max-w-56 rounded-lg" :buttonClass="'!p-1 ml-auto'" ref="popover">
diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vue
index 5f879183..b0dea849 100755
--- a/resources/js/components/video/VideoInfoPanel.vue
+++ b/resources/js/components/video/VideoInfoPanel.vue
@@ -133,7 +133,7 @@ watch(() => stateVideo.value, handlePropsUpdate, { immediate: true, deep: true }
</p>
</span>
<section class="flex gap-2 justify-end h-8 sm:hidden">
- <Popover popoverClass="!max-w-32 !p-1 !rounded-md !shadow-sm" :vertical-offset-pixels="36" :buttonClass="'!p-1 w-8 h-8 ml-auto'" ref="popover">
+ <Popover popoverClass="!max-w-32 !p-1 !rounded-md !shadow-sm" :vertical-offset-pixels="36" :buttonClass="'!p-1 w-6 h-6 ml-auto mt-auto'" ref="popover">
<template #buttonIcon>
<ProiconsMoreVertical class="h-4 w-4" />
</template>