样式优化

This commit is contained in:
2betop 2020-04-29 20:00:01 +08:00
parent a97bdab7fe
commit 9e678ddcca
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@
&-toolbar-item { &-toolbar-item {
margin-left: $Crud-toolbar-gap; margin-left: $Crud-toolbar-gap;
margin-top: $Crud-toolbar-gap;
line-height: $Crud-toolbar-lineHeight; line-height: $Crud-toolbar-lineHeight;
height: $Crud-toolbar-height; height: $Crud-toolbar-height;
vertical-align: middle; vertical-align: middle;
@ -109,6 +110,7 @@
.#{$ns}Crud { .#{$ns}Crud {
&-toolbar { &-toolbar {
margin-left: -$Crud-toolbar-gap; margin-left: -$Crud-toolbar-gap;
margin-top: -$Crud-toolbar-gap;
flex-basis: 0; flex-basis: 0;
flex-grow: 1; flex-grow: 1;
@include clearfix(); @include clearfix();