This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Media Indicator - remove spacing on the low-level component #3062
Media Indicator - remove spacing on the low-level component #3062
Changes from 2 commits
15981da
302a585
18026c0
203483f
179d1d1
6a6ddc9
bf5082d
da3b757
f57c6f5
df44fdc
b103f1a
2ddfd9d
74a70ae
7fd71fe
eacc57d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we still are using this GEL_SPACING_HLF,
When looking at where it's used, it's applied to the Time element
https://github.com/bbc/psammead/blob/302a5857b799b4f2cd192a0ccfe468ba5bd86487/packages/components/psammead-media-indicator/src/index.jsx#L33
Makes me think that this should be passed in as a Child, rather than be within this component.
We already have the
children
prop.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A consequence of the change would be that other components that use
psammead-media-indicator
would need to be updated.I’ve looked at Psammead and Simorgh to see how much work this would be.
Psammead:
Stories and tests/test helpers in these two components, that can be carried out in one PR
(Note, the top-level dependency in psammead would need to be updated)
In Simorgh, the changes would be to these containers - being carried out as part of the Desktop redesign: bbc/simorgh#5139