* Closes #1502 Avoid text overflow on staking app * adjusted flex ratio
This commit is contained in:
parent
688231ca05
commit
4ecdf73ce9
@ -598,9 +598,10 @@ export default withMulti(
|
||||
display: flex;
|
||||
|
||||
.staking--Accounts {
|
||||
flex: 1;
|
||||
flex: 3;
|
||||
display: flex;
|
||||
flex-direction: column
|
||||
flex-direction: column;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.staking--Account-detail.actions{
|
||||
|
||||
@ -46,7 +46,7 @@ function CopyButtonInner (props: InnerProps): React.ReactElement<InnerProps> {
|
||||
onCopy={onCopy(props)}
|
||||
text={value}
|
||||
>
|
||||
<div>
|
||||
<div className='copyContainer'>
|
||||
{children}
|
||||
<span className='copySpan'>
|
||||
<Button
|
||||
@ -77,7 +77,8 @@ function CopyButton (props: Props): React.ReactElement<Props> {
|
||||
);
|
||||
}
|
||||
|
||||
export default styled(CopyButton)`
|
||||
export default styled(CopyButton)`
|
||||
width: 100%;
|
||||
cursor: copy;
|
||||
|
||||
button.ui.mini.icon.primary.button.iconButton {
|
||||
@ -87,4 +88,8 @@ export default styled(CopyButton)`
|
||||
.copySpan {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.copyContainer {
|
||||
display: flex;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
`;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user