Merge remote-tracking branch 'amis/master'

This commit is contained in:
rickcole 2020-04-08 10:40:12 +08:00
commit 0d355243a2
3 changed files with 10 additions and 7 deletions

View File

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

View File

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

View File

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