refactor(menu): optimize the margin on the menu

This commit is contained in:
Nicholas LD 2025-08-11 16:35:54 +08:00 committed by GitHub
parent 358e129765
commit 0e586201ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@ function toggleSiderCollapse() {
<!-- define component: MixMenuItem --> <!-- define component: MixMenuItem -->
<DefineMixMenuItem v-slot="{ label, icon, active, isMini }"> <DefineMixMenuItem v-slot="{ label, icon, active, isMini }">
<div <div
class="mx-4px mb-6px flex-col-center cursor-pointer rounded-8px bg-transparent px-4px py-8px transition-300 hover:bg-[rgb(0,0,0,0.08)]" class="mx-4px mb-6px flex-col-center cursor-pointer rounded-8px bg-transparent px-4px py-8px transition-300 first:mt-2 hover:bg-[rgb(0,0,0,0.08)]"
:class="{ :class="{
'text-primary selected-mix-menu': active, 'text-primary selected-mix-menu': active,
'text-white:65 hover:text-white': inverted, 'text-white:65 hover:text-white': inverted,