-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
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.
👍 Thanks for this fix. When looking locally in Storybook, I see the script-specific font-size and line-height applied.
e.g. http://localhost:8180/?path=/story/components-mediaindicator-video--video-with-duration
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.
https://github.com/bbc/psammead/pull/3075/files#diff-9caff7f606acc564ecc5cea4ea7173e6R37-R41
in this example ^ should we add an example of importing scripts and passing it as a prop, since it is a required prop?
Done :) |
Resolves #NUMBER
Overall change:
Pass script to Media Indicator to apply the right typography.
Code changes:
script
prop to theMediaIndicator
component