Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
fix(projects): 修复tabs-view下拉菜单溢出
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbowe committed Mar 16, 2022
1 parent 421434a commit a43353d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layout/header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</Tooltip>
<FullScreen />
<LocalePicker />
<Dropdown>
<Dropdown placement="bottomRight">
<Avatar :src="userInfo.headImg" :alt="userInfo.name">{{ userInfo.name }}</Avatar>
<template #overlay>
<Menu>
Expand Down
2 changes: 1 addition & 1 deletion src/layout/tabs/tabs-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</Tabs.TabPane>

<template #rightExtra>
<Dropdown :trigger="['click']">
<Dropdown :trigger="['click']" placement="bottomRight">
<a class="ant-dropdown-link" @click.prevent>
<down-outlined :style="{ fontSize: '20px' }" />
</a>
Expand Down

0 comments on commit a43353d

Please sign in to comment.