mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:31:41 +08:00
feat(trigger): add trigger config
This commit is contained in:
@@ -73,7 +73,7 @@ export default defineComponent({
|
||||
offset += 46;
|
||||
}
|
||||
return {
|
||||
height: `calc(100% - ${offset - 10}px)`,
|
||||
height: `calc(100% - ${offset - 12}px)`,
|
||||
position: 'relative',
|
||||
overflowY: 'auto',
|
||||
};
|
||||
|
@@ -32,7 +32,7 @@ export default defineComponent({
|
||||
* @description: 渲染图标
|
||||
*/
|
||||
function renderIcon(icon: string) {
|
||||
return icon ? <Icon icon={icon} size={18} class="mr-1 menu-item-icon" /> : null;
|
||||
return icon ? <Icon icon={icon} size={18} class="menu-item-icon" /> : null;
|
||||
}
|
||||
|
||||
return () => {
|
||||
|
@@ -41,6 +41,7 @@
|
||||
font-size: 12px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
& > li > .ant-menu-submenu-title {
|
||||
@@ -183,9 +184,17 @@
|
||||
transition: unset;
|
||||
}
|
||||
|
||||
&:not(.basic-menu__sidebar-hor).ant-menu-inline-collapsed {
|
||||
.basic-menu-item__level1 {
|
||||
> div {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.ant-menu-dark:not(.basic-menu__sidebar-hor):not(.basic-menu__second) {
|
||||
// Reset menu item row height
|
||||
.ant-menu-item,
|
||||
.ant-menu-item:not(.basic-menu-item__level1),
|
||||
.ant-menu-sub.ant-menu-inline > .ant-menu-item,
|
||||
.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
|
||||
height: @app-menu-item-height;
|
||||
|
Reference in New Issue
Block a user