mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
form 水平排版cxd 主题label 不换行
This commit is contained in:
parent
4048bb1ed1
commit
c9b3d6f862
@ -604,6 +604,7 @@ $Form-group--xs-gutterWidth: px2rem(10px) !default;
|
||||
|
||||
$Form-row-gutterWidth: px2rem(10px) !default;
|
||||
|
||||
$Form--horizontal-label-whiteSpace: "normal" !default;
|
||||
$Form--horizontal-label-align: right !default;
|
||||
$Form--horizontal-label-widthXs: px2rem(60px) !default;
|
||||
$Form--horizontal-label-widthSm: px2rem(90px) !default;
|
||||
|
@ -82,6 +82,7 @@
|
||||
&--horizontal {
|
||||
>.#{$ns}Form-label {
|
||||
text-align: $Form--horizontal-label-align;
|
||||
white-space: $Form--horizontal-label-whiteSpace;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,10 +75,11 @@ $Form-description-color: #999;
|
||||
$Form-input-onError-bg: #fffbfb;
|
||||
$Form-input-onDisabled-bg: #f5f5f5;
|
||||
$Form-input-onDisabled-borderColor: #ebebeb;
|
||||
$Form--horizontal-label-widthBase: px2rem(90px);
|
||||
$Form--horizontal-label-whiteSpace: nowrap;
|
||||
$Form--horizontal-label-align: left;
|
||||
$Form--horizontal-label-widthXs: px2rem(50px);
|
||||
$Form--horizontal-label-widthSm: px2rem(70px);
|
||||
$Form--horizontal-label-widthBase: px2rem(100px);
|
||||
$Form--horizontal-label-widthMd: px2rem(140px);
|
||||
$Form--horizontal-label-widthLg: px2rem(190px);
|
||||
$Form-input-addOnBg: $white;
|
||||
|
Loading…
Reference in New Issue
Block a user