Expander sub max length (not expanded) (#8611)
* Expander sub max length (not expanded) * Expander max width
This commit is contained in:
parent
0851171c17
commit
d043bbd2ed
@ -133,19 +133,27 @@ function Expander ({ children, className = '', help, helpIcon, isHeader, isLeft,
|
||||
}
|
||||
|
||||
export default React.memo(styled(Expander)`
|
||||
max-width: 100%;
|
||||
max-width: 60rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:not(.isExpanded) .ui--Expander-content {
|
||||
display: none;
|
||||
&:not(.isExpanded) {
|
||||
.ui--Expander-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ui--Expander-summary-header-sub {
|
||||
max-width: 35rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.isExpanded .ui--Expander-content {
|
||||
margin-top: 0.75rem;
|
||||
&.isExpanded {
|
||||
.ui--Expander-content {
|
||||
margin-top: 0.75rem;
|
||||
|
||||
.body.column {
|
||||
justify-content: end;
|
||||
.body.column {
|
||||
justify-content: end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user