-
Notifications
You must be signed in to change notification settings - Fork 160
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(toc): alignment issues #12118
fix(toc): alignment issues #12118
Conversation
✅ Deploy Preview for ibm-dotcom-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ibm-dotcom-web-components-react-wrap ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -102,14 +102,17 @@ $hover-transition-timing: 95ms; | |||
|
|||
position: inherit; | |||
z-index: 10; | |||
padding: 0; | |||
|
|||
box-sizing: border-box; |
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.
This fixes the issue. Quick check of some v1 components, seems like in v1 there was a * { box-sizing: border-box; }
rule added for all components, as part of some reset? I guess that's a change in v2. Something to keep in mind. I'm not suggesting we change at global level like that though, too far reaching for where we're at.
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.
yeah I saw that - wondering if that's a change from all the way up in carbon/carbon?
Hey there! This issue/pull request was referenced in recently released v2.16.0. |
Related Ticket(s)
https://jsw.ibm.com/browse/ADCMS-6886
Description
Fixes alignment changes between v1 & v2 as exhibited here
Changelog
Changed
stylelint --fix
toyarn format
command