Container styles break skeleton alignment #9511
Labels
component: modal
package: components
carbon-components
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
text-align, padding and maybe other styles break position of skeleton :before.
In case of Modal it's
What package(s) are you using?
Detailed description
Container styles should not break skeleton alignment.
In our project I've fixed it with
Maybe there are other skeleton classes to be included.
Steps to reproduce the issue
Render Skeleton inside a div.
set div padding.
https://codesandbox.io/s/adoring-snowflake-5br1d?file=/src/index.js:352-371
Additional information
The text was updated successfully, but these errors were encountered: