Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
466cbc53
Commit
466cbc53
authored
Jul 02, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:........
parent
cf5ce3a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
28 deletions
+29
-28
src/modules/root/Menu.less
+28
-26
src/modules/root/Menu.tsx
+1
-2
No files found.
src/modules/root/Menu.less
View file @
466cbc53
...
@@ -48,12 +48,13 @@
...
@@ -48,12 +48,13 @@
display: -webkit-flex;
display: -webkit-flex;
flex-direction: column;
flex-direction: column;
-webkit-flex-direction: column;
-webkit-flex-direction: column;
height: calc(~'100% - 60px');
.nav {
.nav {
-webkit-flex: 1;
-webkit-flex: 1;
cursor: default;
cursor: default;
font-size: 16px;
font-size: 16px;
height: calc(~'100% -
72
px');
height: calc(~'100% -
84
px');
overflow: auto;
overflow: auto;
&::-webkit-scrollbar {
&::-webkit-scrollbar {
display: none;
display: none;
...
@@ -120,35 +121,13 @@
...
@@ -120,35 +121,13 @@
color:#5E606A;
color:#5E606A;
}
}
}
}
}
&.left-container-vertical {
width: 56px;
.menu-type-icon{
margin:4px 0 0px 22px;
}
.left {
.ant-menu-submenu-arrow{
display:none !important;
}
}
}
.shink-footer {
left: 74px;
}
// &:hover{
// .menu-type-icon{
// display:inline-block;
// }
// }
.version-info {
.version-info {
position: absolute;
//
position: absolute;
height: 84px;
height: 84px;
bottom: 0;
bottom: 0;
width: 100%
;
width: 180px
;
cursor: pointer;
cursor: pointer;
z-index: 10;
//
z-index: 10;
padding-top: 10px;
padding-top: 10px;
background-color: white;
background-color: white;
.row-1 {
.row-1 {
...
@@ -256,6 +235,29 @@
...
@@ -256,6 +235,29 @@
display: block;
display: block;
}
}
}
}
}
&.left-container-vertical {
width: 56px;
.menu-type-icon{
margin:4px 0 0px 22px;
}
.left {
.ant-menu-submenu-arrow{
display:none !important;
}
}
}
.shink-footer {
left: 74px;
}
// &:hover{
// .menu-type-icon{
// display:inline-block;
// }
// }
}
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
...
...
src/modules/root/Menu.tsx
View file @
466cbc53
...
@@ -277,11 +277,10 @@ function Aside(props: any) {
...
@@ -277,11 +277,10 @@ function Aside(props: any) {
}
}
</
Menu
>
</
Menu
>
</
div
>
</
div
>
</
div
>
{
{
menuType
?
<
VersionPanel
/>
:
""
menuType
?
<
VersionPanel
/>
:
""
}
}
</
div
>
</
div
>
</
div
>
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment