amis/packages/amis-ui/scss/components/_multiline-text.scss
lmaomaoz 8ccee83942
fix: amis-ui Multiline Text 组件css提取 (#5607)
Co-authored-by: jinye <jinye@baidu.com>
2022-10-21 14:03:19 +08:00

20 lines
305 B
SCSS

.#{$ns}MultilineText {
position: relative;
&-counter,
&-display {
white-space: pre-line;
overflow: hidden;
}
&-counter {
visibility: hidden;
position: absolute;
width: 100%;
z-index: -99;
}
&-button-wrapper {
margin-top: --(gap-xs);
text-align: right;
}
}