Expander header without nowrap (#2582)
* Expander header without nowrap * Adjust overflows
This commit is contained in:
parent
3c438d39f9
commit
75bceaadf1
@ -48,10 +48,10 @@ function ReferendumVotes ({ change, className, count, index, isWinning, total, v
|
||||
<td className={`${className} number`}>
|
||||
<Expander
|
||||
summary={
|
||||
<>
|
||||
<FormatBalance value={total} />
|
||||
{count ? ` (${formatNumber(count)})` : '' }
|
||||
</>
|
||||
<FormatBalance
|
||||
labelPost={count ? ` (${formatNumber(count)})` : '' }
|
||||
value={total}
|
||||
/>
|
||||
}
|
||||
summarySub={
|
||||
change.gtn(0)
|
||||
|
||||
@ -103,17 +103,16 @@ export default React.memo(styled(Expander)`
|
||||
|
||||
.ui--Expander-summary {
|
||||
margin: 0;
|
||||
min-width: 12rem;
|
||||
min-width: 13.5rem;
|
||||
overflow: hidden;
|
||||
|
||||
.ui--Expander-summary-header > .ui--FormatBalance {
|
||||
min-width: 12rem;
|
||||
min-width: 11rem;
|
||||
}
|
||||
|
||||
> div {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
i.icon {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user