优化移动端样式

This commit is contained in:
liaoxuezhi 2019-07-22 15:42:30 +08:00
parent 23d438e752
commit c66c2887de
1 changed files with 40 additions and 35 deletions

View File

@ -52,7 +52,18 @@
}
}
.#{$ns}Page-toolbar {
.#{$ns}Button + .#{$ns}Button {
margin-left: $gap-xs;
}
}
.#{$ns}Page-aside {
background-color: $Page-aside-bg;
}
@include media-breakpoint-up(md) {
.#{$ns}Page-aside {
&::before {
content: "";
position: absolute;
@ -65,11 +76,10 @@
}
width: $Page-aside-width;
background-color: $Page-aside-bg;
border-right: $borderWidth solid $borderColor;
}
}
.#{$ns}Page--withSidebar {
.#{$ns}Page--withSidebar {
display: table;
table-layout: fixed;
width: 100%;
@ -85,10 +95,5 @@
.#{$ns}Page-content {
width: 100%;
}
}
.#{$ns}Page-toolbar {
.#{$ns}Button + .#{$ns}Button {
margin-left: $gap-xs;
}
}