Skip to content

Commit 2b240da

Browse files
author
zhangtao
committed
style(web): 进一步收紧三更多菜单宽度
1 parent 3cb3986 commit 2b240da

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎frontend/web/src/styles/element-plus/_overrides.scss‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,13 @@ html.dark .el-card {
242242
// 修改 el-dropdown 样式
243243
// 表格行内「更多」菜单:按内容自适应,避免过宽
244244
.fa-button-more-popper .el-dropdown-menu {
245-
max-width: 180px;
245+
min-width: 104px;
246+
max-width: 160px;
246247
}
247248

248249
.fa-button-more-popper .el-dropdown-menu__item {
249-
padding-right: 12px !important;
250-
padding-left: 12px !important;
250+
padding: 6px 10px !important;
251+
font-size: 13px;
251252
}
252253

253254
.el-dropdown-menu {

0 commit comments

Comments
 (0)