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)`
|
export default React.memo(styled(Expander)`
|
||||||
max-width: 100%;
|
max-width: 60rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&:not(.isExpanded) .ui--Expander-content {
|
&:not(.isExpanded) {
|
||||||
display: none;
|
.ui--Expander-content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui--Expander-summary-header-sub {
|
||||||
|
max-width: 35rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.isExpanded .ui--Expander-content {
|
&.isExpanded {
|
||||||
margin-top: 0.75rem;
|
.ui--Expander-content {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
|
||||||
.body.column {
|
.body.column {
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user