1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 07:42:28 +00:00

Fix displaying long paths in Preview Rename & Preview Retag

This commit is contained in:
Bogdan 2023-07-13 21:07:27 +03:00
parent 172a4417e9
commit a0385ca53f
6 changed files with 14 additions and 2 deletions

View file

@ -5,7 +5,7 @@
}
.description {
composes: title from '~Components/DescriptionList/DescriptionListItemDescription.css';
composes: description from '~Components/DescriptionList/DescriptionListItemDescription.css';
margin-left: 110px;
}

View file

@ -10,6 +10,7 @@ class DescriptionListItem extends Component {
render() {
const {
className,
titleClassName,
descriptionClassName,
title,
@ -17,7 +18,7 @@ class DescriptionListItem extends Component {
} = this.props;
return (
<div>
<div className={className}>
<DescriptionListItemTitle
className={titleClassName}
>
@ -35,6 +36,7 @@ class DescriptionListItem extends Component {
}
DescriptionListItem.propTypes = {
className: PropTypes.string,
titleClassName: PropTypes.string,
descriptionClassName: PropTypes.string,
title: PropTypes.string,

View file

@ -17,4 +17,5 @@
.path {
margin-left: 10px;
word-break: break-word;
}

View file

@ -22,5 +22,12 @@
.path {
margin-left: 10px;
word-break: break-word;
font-weight: bold;
}
.description {
composes: description from '~Components/DescriptionList/DescriptionListItemDescription.css';
word-break: break-word;
}

View file

@ -2,6 +2,7 @@
// Please do not change this file!
interface CssExports {
'column': string;
'description': string;
'path': string;
'row': string;
'selectedContainer': string;

View file

@ -82,6 +82,7 @@ class RetagPreviewRow extends Component {
<DescriptionListItem
key={field}
title={field}
descriptionClassName={styles.description}
data={formatChange(field, oldValue, newValue)}
/>
);