Skip to content

Commit

Permalink
src/app: rework CGSpace sdg and share component styles
Browse files Browse the repository at this point in the history
Import metadata-field-wrapper component's style instead of copying.
  • Loading branch information
alanorth committed Dec 16, 2023
1 parent 8f1b9cc commit 792addb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
/**
Expand Down

0 comments on commit 792addb

Please sign in to comment.