样式调整

This commit is contained in:
2betop 2020-04-08 10:34:16 +08:00
parent 3da6c57f55
commit a1e5351b99
3 changed files with 10 additions and 7 deletions

View File

@ -5,6 +5,10 @@
border-radius: $Table-borderRadius; border-radius: $Table-borderRadius;
margin-bottom: $gap-md; margin-bottom: $gap-md;
.#{$ns}Form-control > & {
margin-bottom: $gap-sm;
}
&-fixedLeft, &-fixedLeft,
&-fixedRight { &-fixedRight {
position: absolute; position: absolute;
@ -358,7 +362,7 @@
position: relative; position: relative;
&::before { &::before {
content: ""; content: '';
position: absolute; position: absolute;
width: px2rem(1px); width: px2rem(1px);
top: 0; top: 0;
@ -369,7 +373,7 @@
} }
&::after { &::after {
content: ""; content: '';
position: absolute; position: absolute;
height: px2rem(1px); height: px2rem(1px);
top: px2rem(20px); top: px2rem(20px);
@ -442,7 +446,7 @@
// position: relative; // position: relative;
&::before { &::before {
content: ""; content: '';
position: absolute; position: absolute;
width: px2rem(1px); width: px2rem(1px);
top: px2rem(30px); top: px2rem(30px);

View File

@ -1,6 +1,7 @@
.#{$ns}Combo { .#{$ns}Combo {
&-placeholder { &-placeholder {
color: $text--muted-color; color: $text--muted-color;
padding-top: px2rem(7px);
} }
&-toolbarBtn { &-toolbarBtn {
@ -111,9 +112,7 @@
0 (-$Combo--vertical-item-gap * 2); 0 (-$Combo--vertical-item-gap * 2);
> .#{$ns}Combo-placeholder { > .#{$ns}Combo-placeholder {
padding: ($Combo--vertical-item-gap * 2) ($Combo--vertical-item-gap * 2) margin: $Combo--vertical-item-gap * 2;
0 ($Combo--vertical-item-gap * 2);
margin-bottom: $Combo--vertical-item-gap * 2;
} }
} }

View File

@ -501,7 +501,7 @@ export default class FormTable extends React.Component<TableProps, TableState> {
columns.push({ columns.push({
type: 'operation', type: 'operation',
buttons: btns, buttons: btns,
width: 100, width: 150,
label: '操作' label: '操作'
}); });
} }