fix: 为右上角用户信息下拉弹窗添加四周留白

This commit is contained in:
jingrow 2026-01-04 00:36:30 +08:00
parent c68c3abb73
commit d0835a1eb2

View File

@ -3,6 +3,7 @@
trigger="click" trigger="click"
:options="userMenuOptions" :options="userMenuOptions"
@select="handleUserMenuSelect" @select="handleUserMenuSelect"
class="user-menu-dropdown"
> >
<n-button quaternary> <n-button quaternary>
<n-avatar <n-avatar
@ -83,3 +84,9 @@ const handleUserMenuSelect = async (key: string) => {
} }
</style> </style>
<style>
.n-dropdown-menu {
margin: 6px 12px !important;
}
</style>