Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
891f847a
Commit
891f847a
authored
Sep 26, 2021
by
邓晓峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feat/commonmenu
parents
8cd95b36
293458fb
Pipeline
#35228
passed with stages
in 30 minutes 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
BasicLayout.less
src/layouts/BasicLayout.less
+4
-4
BasicLayout1.js
src/layouts/BasicLayout1.js
+6
-6
No files found.
src/layouts/BasicLayout.less
View file @
891f847a
...
...
@@ -30,10 +30,10 @@
}
.layoutSlider {
overflow: hidden;
flex: 0 0
10
0px;
max-width:
10
0px;
min-width:
10
0px;
width:
10
0px;
flex: 0 0
8
0px;
max-width:
8
0px;
min-width:
8
0px;
width:
8
0px;
background-color: @layout-header-background;
transition: background .3s,width .3s cubic-bezier(.2,0,0,1) 0s;
&.fixed {
...
...
src/layouts/BasicLayout1.js
View file @
891f847a
...
...
@@ -458,18 +458,18 @@ const BasicLayout = props => {
<
div
className
=
{
classNames
(
layoutStyles
.
basicLayout
)}
>
<
div
className
=
{
layoutStyles
[
'layout-has-slider'
]}
style
=
{{
minHeight
:
'100%'
}}
>
<
div
style
=
{{
width
:
collapse
?
'48px'
:
'
10
0px'
,
width
:
collapse
?
'48px'
:
'
8
0px'
,
overflow
:
'hidden'
,
flex
:
collapse
?
'0 0 48px'
:
'0 0
10
0px'
,
maxWidth
:
collapse
?
'48px'
:
'
10
0px'
,
minWidth
:
collapse
?
'48px'
:
'
10
0px'
,
flex
:
collapse
?
'0 0 48px'
:
'0 0
8
0px'
,
maxWidth
:
collapse
?
'48px'
:
'
8
0px'
,
minWidth
:
collapse
?
'48px'
:
'
8
0px'
,
transition
:
'background-color 0.3s ease 0s, min-width 0.3s ease 0s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s'
}}
><
/div
>
<
aside
className
=
{
classNames
(
layoutStyles
.
layoutSlider
,
layoutStyles
.
fixed
,
{
[
layoutStyles
.
collapsed
]:
collapse
})}
>
<
div
className
=
{
layoutStyles
[
'layout-slider-childern'
]}
>
<
div
className
=
{
layoutStyles
.
sliderMenu
}
style
=
{{
flex
:
'1 1 0%'
,
overflow
:
'hidden'
}}
>
<
div
className
=
{
layoutStyles
.
sliderMenu
}
style
=
{{
flex
:
'1 1 0%'
,
overflow
:
'hidden
auto
'
}}
>
<
ul
className
=
"menu"
style
=
{{
minHeight
:
'0px'
,
marginBottom
:
'0px'
}}
>
<
li
className
=
{
classNames
(
'menu-item'
)}
onClick
=
{
handleToggleSystem
}
>
<
Tooltip
placement
=
"right"
title
=
{
collapse
?
currentRoutes
.
name
:
''
}
>
...
...
@@ -525,7 +525,7 @@ const BasicLayout = props => {
<
/div
>
<
/div>
<
/aside
>
<
div
className
=
{
layoutStyles
.
layout
}
style
=
{{
width
:
'calc(100% -
10
0px)'
}}
>
<
div
className
=
{
layoutStyles
.
layout
}
style
=
{{
width
:
'calc(100% -
8
0px)'
}}
>
<
Panel
visible
=
{
toggleSystem
}
keyboard
...
...
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