mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
feat(app): adjust sub menu spacing
This commit is contained in:
parent
1db4fbb8ee
commit
65c7ec9060
@ -2,6 +2,7 @@ import React from 'react';
|
||||
import { Layout, Menu, Breadcrumb } from 'antd';
|
||||
import { Link, useLocation } from 'umi';
|
||||
import Icon from '@/components/icons';
|
||||
import './style.less';
|
||||
|
||||
function pathcamp(path1: string, path2: string) {
|
||||
if (path1 === path2) {
|
||||
|
7
packages/app/src/components/menu/style.less
Normal file
7
packages/app/src/components/menu/style.less
Normal file
@ -0,0 +1,7 @@
|
||||
.ant-menu-sub.ant-menu-inline > .ant-menu-item,
|
||||
.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
margin: 4px 0;
|
||||
font-size: 13px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user