diff --git a/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.scss b/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.scss new file mode 100644 index 00000000000..3ce8d044ef4 --- /dev/null +++ b/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.scss @@ -0,0 +1,6 @@ +:host ::ng-deep .file-section { + ds-themed-file-download-link { display: block; } + ds-themed-file-download-link:not(:last-of-type) { margin-bottom: 0.25rem; } + ds-themed-file-download-link br { display: none; } + ds-themed-file-download-link a { word-break: break-all; margin-right: 0.5rem; } +} diff --git a/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.ts b/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.ts index 7f36623b3a7..72b892b2c90 100644 --- a/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.ts +++ b/src/themes/custom/app/item-page/simple/field-components/file-section/file-section.component.ts @@ -6,6 +6,7 @@ import { FileSectionComponent as BaseComponent } from '../../../../../../../app/ selector: 'ds-item-page-file-section', // templateUrl: './file-section.component.html', templateUrl: '../../../../../../../app/item-page/simple/field-components/file-section/file-section.component.html', + styleUrls: ['./file-section.component.scss'], animations: [slideSidebarPadding], }) export class FileSectionComponent extends BaseComponent {