Fixed: Truncate custom format card tags

Fixes #7725
Fixes #7973

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/7974/head
Qstick 2 years ago
parent 001421de10
commit d1080b825c

@ -17,6 +17,10 @@
font-size: 24px; font-size: 24px;
} }
.buttons {
flex: 0 0 auto;
}
.cloneButton { .cloneButton {
composes: button from '~Components/Link/IconButton.css'; composes: button from '~Components/Link/IconButton.css';
@ -36,3 +40,10 @@
margin: 0; margin: 0;
border: none; border: none;
} }
.label {
@add-mixin truncate;
composes: label from '~Components/Label.css';
max-width: 100%;
}

@ -90,7 +90,7 @@ class CustomFormat extends Component {
{name} {name}
</div> </div>
<div> <div className={styles.buttons}>
<IconButton <IconButton
className={styles.cloneButton} className={styles.cloneButton}
title={translate('CloneCustomFormat')} title={translate('CloneCustomFormat')}
@ -124,6 +124,7 @@ class CustomFormat extends Component {
return ( return (
<Label <Label
className={styles.label}
key={index} key={index}
kind={kind} kind={kind}
> >

Loading…
Cancel
Save