fix: 为右上角用户信息下拉弹窗添加四周留白
This commit is contained in:
parent
c68c3abb73
commit
d0835a1eb2
@ -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>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user