mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 14:51:17 +00:00
Fixed: Truncate custom format card tags
Fixes #7725 Fixes #7973 Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
parent
001421de10
commit
d1080b825c
2 changed files with 13 additions and 1 deletions
|
@ -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…
Reference in a new issue