amis-rpc-design/libs/amis/packages/amis-ui/scss/components/_multiline-text.scss

20 lines
305 B
SCSS
Raw Normal View History

2023-10-07 19:42:30 +08:00
.#{$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;
}
}