diff --git a/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.scss b/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.scss deleted file mode 100644 index a77b92a7fa2..00000000000 --- a/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.scss +++ /dev/null @@ -1,10 +0,0 @@ -// Mimic metadata-field-wrapper style since we can't use it here -// See: src/app/shared/metadata-field-wrapper/metadata-field-wrapper.component.scss -:host { - .simple-view-element { - margin-bottom: 15px; - } - .simple-view-element-header { - font-size: 1.25rem; - } -} diff --git a/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.ts b/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.ts index 4ce5a9ef558..4bbaa7cc72b 100644 --- a/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.ts +++ b/src/app/item-page/simple/field-components/specific-field/sdg/item-page-sdg-field.component.ts @@ -5,7 +5,8 @@ import { ItemPageFieldComponent } from '../item-page-field.component'; @Component({ selector: 'ds-item-page-sdg-field', - styleUrls: ['./item-page-sdg-field.component.scss'], + // Mimic style from metadata-field-wrapper component since we can't use it here + styleUrls: ['../../../../../shared/metadata-field-wrapper/metadata-field-wrapper.component.scss'], templateUrl: './item-page-sdg-field.component.html' }) /** diff --git a/src/app/item-page/simple/field-components/specific-field/share/item-page-share-field.component.ts b/src/app/item-page/simple/field-components/specific-field/share/item-page-share-field.component.ts index 963d4d1a6a8..860c79a2cd6 100644 --- a/src/app/item-page/simple/field-components/specific-field/share/item-page-share-field.component.ts +++ b/src/app/item-page/simple/field-components/specific-field/share/item-page-share-field.component.ts @@ -5,7 +5,8 @@ import { ItemPageFieldComponent } from '../item-page-field.component'; @Component({ selector: 'ds-item-page-share-field', - styleUrls: ['./item-page-share-field.component.scss'], + // Mimic style from metadata-field-wrapper component since we can't use it here + styleUrls: ['../../../../../shared/metadata-field-wrapper/metadata-field-wrapper.component.scss'], templateUrl: './item-page-share-field.component.html' }) /**