All Table word breaks on 100% columns (#5165)
This commit is contained in:
parent
e395d67344
commit
1392f9cbf6
@ -118,7 +118,7 @@ function Tip ({ bestNumber, className = '', defaultId, hash, isMember, members,
|
||||
)}
|
||||
</td>
|
||||
<TipReason hash={reason} />
|
||||
<td className='expand'>
|
||||
<td className='expand media--1100'>
|
||||
{tips.length !== 0 && (
|
||||
<Expander summary={
|
||||
<>
|
||||
|
||||
@ -64,7 +64,7 @@ function Tips ({ className = '', defaultId, hashes, isMember, members, onSelectT
|
||||
[t('tips'), 'start'],
|
||||
[t('finder'), 'address media--1400'],
|
||||
[t('reason'), 'start'],
|
||||
[],
|
||||
[undefined, 'media--1100'],
|
||||
[],
|
||||
[undefined, 'badge media--1700'],
|
||||
[],
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { isString } from '@polkadot/util';
|
||||
|
||||
@ -36,6 +35,4 @@ function Body ({ children, className = '', empty, emptySpinner, noBodyTag }: Pro
|
||||
);
|
||||
}
|
||||
|
||||
export default React.memo(styled(Body)`
|
||||
|
||||
`);
|
||||
export default React.memo(Body);
|
||||
|
||||
@ -92,6 +92,7 @@ export default React.memo(styled(Table)`
|
||||
}
|
||||
|
||||
&.all {
|
||||
word-break: break-word;
|
||||
width: 100%;
|
||||
|
||||
summary {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user