Fixed: Increase width and truncate long names on Import List Exclusions

(cherry picked from commit 2d0541c03b761a0ec5e10711d6bd577e07141517)

Closes #2506
This commit is contained in:
Mark McDowall 2021-11-28 15:46:06 -08:00 committed by Bogdan
parent 3dd933ba15
commit 649cff6393
4 changed files with 14 additions and 10 deletions

View file

@ -8,11 +8,13 @@
} }
.artistName { .artistName {
flex: 0 0 300px; @add-mixin truncate;
flex: 0 1 600px;
} }
.foreignId { .foreignId {
flex: 0 0 400px; flex: 0 0 290px;
} }
.actions { .actions {

View file

@ -4,12 +4,12 @@
font-weight: bold; font-weight: bold;
} }
.host { .name {
flex: 0 0 300px; flex: 0 1 600px;
} }
.path { .foreignId {
flex: 0 0 400px; flex: 0 0 290px;
} }
.addImportListExclusion { .addImportListExclusion {

View file

@ -3,9 +3,9 @@
interface CssExports { interface CssExports {
'addButton': string; 'addButton': string;
'addImportListExclusion': string; 'addImportListExclusion': string;
'host': string; 'foreignId': string;
'importListExclusionsHeader': string; 'importListExclusionsHeader': string;
'path': string; 'name': string;
} }
export const cssExports: CssExports; export const cssExports: CssExports;
export default cssExports; export default cssExports;

View file

@ -51,8 +51,10 @@ class ImportListExclusions extends Component {
{...otherProps} {...otherProps}
> >
<div className={styles.importListExclusionsHeader}> <div className={styles.importListExclusionsHeader}>
<div className={styles.host}>{translate('Name')}</div> <div className={styles.name}>
<div className={styles.path}> {translate('Name')}
</div>
<div className={styles.foreignId}>
{translate('ForeignId')} {translate('ForeignId')}
</div> </div>
</div> </div>