mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
Text有addOn时inline,size设置&static-image展示文字不省略 (#1857)
Co-authored-by: dqc <qianchuan.deng@gmail.com>
This commit is contained in:
parent
e5a8da04c4
commit
16df9e04dd
@ -92,16 +92,10 @@
|
||||
|
||||
&-caption {
|
||||
font-size: var(--fontSizeSm);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&-title {
|
||||
font-size: var(--fontSizeSm);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&-overlay {
|
||||
|
@ -135,6 +135,21 @@
|
||||
color: var(--text--muted-color);
|
||||
}
|
||||
|
||||
&--withAddOn.is-inline {
|
||||
display: inline-block;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
&.#{$ns}Form-control--sizeXs,
|
||||
&.#{$ns}Form-control--sizeSm,
|
||||
&.#{$ns}Form-control--sizeMd,
|
||||
&.#{$ns}Form-control--sizeLg {
|
||||
> .#{$ns}TextControl-input {
|
||||
min-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-input--withAC {
|
||||
position: relative;
|
||||
flex-wrap: wrap;
|
||||
|
Loading…
Reference in New Issue
Block a user