mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 12:18:15 +08:00
fix: menu failed to design while menu title is empty string (#2999)
* fix: menu failed to desgin while menu title is empty string * style: menu group style improve
This commit is contained in:
parent
61d14309ed
commit
c3c648d28c
@ -28,6 +28,7 @@ const subMenuDesignerCss = css`
|
||||
margin-right: -34px;
|
||||
padding: 0 34px 0 24px;
|
||||
width: calc(100% + 58px);
|
||||
height: 100%;
|
||||
&:hover {
|
||||
> .general-schema-designer {
|
||||
display: block;
|
||||
@ -79,6 +80,7 @@ const designerCss = css`
|
||||
margin-right: -20px;
|
||||
padding: 0 20px;
|
||||
width: calc(100% + 40px);
|
||||
height: 100%;
|
||||
&:hover {
|
||||
> .general-schema-designer {
|
||||
display: block;
|
||||
@ -137,6 +139,7 @@ const sideMenuClass = css`
|
||||
overflow-x: hidden;
|
||||
.ant-menu-item {
|
||||
> .ant-menu-title-content {
|
||||
height: 100%;
|
||||
margin-left: -24px;
|
||||
margin-right: -16px;
|
||||
padding: 0 16px 0 24px;
|
||||
@ -149,6 +152,7 @@ const sideMenuClass = css`
|
||||
}
|
||||
.ant-menu-submenu-title {
|
||||
.ant-menu-title-content {
|
||||
height: 100%;
|
||||
margin-left: -24px;
|
||||
margin-right: -34px;
|
||||
padding: 0 34px 0 24px;
|
||||
|
Loading…
Reference in New Issue
Block a user