Wrap and break static text (#547)

This commit is contained in:
Jaco Greeff 2018-12-31 13:48:27 +01:00 committed by GitHub
parent acafbe9a62
commit 2044bd14b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default class Static extends React.PureComponent<Props> {
style={style}
withLabel={withLabel}
>
<div className='ui dropdown selection disabled'>
<div className='ui--Static ui dropdown selection disabled'>
{value || defaultValue}
{children}
</div>

View File

@ -212,6 +212,11 @@ header .ui--Button-Group {
}
}
.ui--Static {
overflow: hidden;
word-break: break-all;
}
.ui--Status {
display: inline-block;
position: fixed;