-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: article card type style and caption spacing #368
fix: article card type style and caption spacing #368
Conversation
alisonjoseph
commented
Aug 22, 2019
•
edited
Loading
edited
- type size broke on article cards w/ latest Carbon - fixed
- updates spacing for captions below video
- token color change broke anchor link color - fixed ref Anchor links should be same color as intro text and needs more spacing above anchor links #369
This pull request is automatically deployed with Now. Latest deployment for this branch: https://gatsby-theme-carbon-git-fork-alisonjoseph-font-size.carbon-design-system.now.sh |
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.
looks good to me!
[class^='Video-module--video'] + .#{$prefix}--caption { | ||
margin-top: -$spacing-08; | ||
div[class^='Video-module--video'] + .#{$prefix}--caption { | ||
margin-top: -4rem; |
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.
just wondering, we don't have a token for this?
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.
Good call, I can change to $layout-05
we just don't have a spacing token that goes up to 4rem
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.
or maybe the mini-units mixin? either way is fine imo
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.
Looks good to me!