From 0044bac3fd63f3746b79b1a45489ca68eb600d04 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 24 Oct 2024 16:10:49 +0800 Subject: [PATCH] chore(video-card-context-menu): update ui --- .../VideoCardContextMenu/VideoCardContextMenu.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/VideoCard/VideoCardContextMenu/VideoCardContextMenu.vue b/src/components/VideoCard/VideoCardContextMenu/VideoCardContextMenu.vue index 79cd70dd..7d0b3a1b 100644 --- a/src/components/VideoCard/VideoCardContextMenu/VideoCardContextMenu.vue +++ b/src/components/VideoCard/VideoCardContextMenu/VideoCardContextMenu.vue @@ -65,7 +65,7 @@ const commonOptions = computed((): { command: VideoOption, name: string, icon: s [ { command: VideoOption.ViewTheOriginalCover, name: t('video_card.operation.view_the_original_cover'), icon: 'i-solar:gallery-minimalistic-bold-duotone' }, - { command: VideoOption.ViewThisUserChannel, name: t('video_card.operation.view_this_user_channel'), icon: 'i-solar:user-bold-duotone' }, + // { command: VideoOption.ViewThisUserChannel, name: t('video_card.operation.view_this_user_channel'), icon: 'i-solar:user-bold-duotone' }, ], ] if (getVideoType() === 'bangumi') { @@ -170,7 +170,7 @@ function handleRemoved(selectedOpt?: { dislikeReasonId: number }) {
.context-menu-item { - --uno: "hover:bg-$bew-fill-2 px-4 py-2 rounded-$bew-radius-half cursor-pointer"; + --uno: "hover:bg-$bew-fill-2 text-sm px-4 py-2 rounded-$bew-radius-half cursor-pointer"; --uno: "flex items-center"; } @@ -253,6 +253,6 @@ function handleRemoved(selectedOpt?: { dislikeReasonId: number }) { } .divider { - --uno: "w-full h-1px my-1 bg-$bew-border-color"; + --uno: "w-full h-1px px-2px bg-$bew-border-color"; }