Merge pull request #4978 from qinhaoyan/style/crud-action

styles:修复crud headerToolbart右对齐按钮没有间距问题
This commit is contained in:
RUNZE LU 2022-07-26 18:18:57 +08:00 committed by GitHub
commit 7ed2bef92e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View File

@ -74,7 +74,11 @@
display: inline-flex;
align-items: center;
&:not(:first-child) {
&--left:not(:first-child) {
margin-left: var(--Crud-toolbar-gap);
}
&--right:not(:last-child) {
margin-left: var(--Crud-toolbar-gap);
}
@ -133,7 +137,11 @@
height: var(--Crud-toolbar-height);
vertical-align: middle;
&:not(:first-child) {
&--left:not(:first-child) {
margin-left: var(--Crud-toolbar-gap);
}
&--right:not(:last-child) {
margin-left: var(--Crud-toolbar-gap);
}

View File

@ -70,7 +70,11 @@
display: inline-flex;
align-items: center;
&:not(:first-child) {
&--left:not(:first-child) {
margin-left: var(--Crud-toolbar-gap);
}
&--right:not(:last-child) {
margin-left: var(--Crud-toolbar-gap);
}
@ -125,7 +129,11 @@
height: var(--Crud-toolbar-height);
vertical-align: middle;
&:not(:first-child) {
&--left:not(:first-child) {
margin-left: var(--Crud-toolbar-gap);
}
&--right:not(:last-child) {
margin-left: var(--Crud-toolbar-gap);
}