-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DEV-11478] Support different layouts for Embed
#68
[DEV-11478] Support different layouts for Embed
#68
Conversation
&--contained { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} |
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.
Is this necessary? As far as I understand, embeds were always contained before, and it worked. Right?
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.
They had 0px
for the left and right margin:
margin: $block-spacing-vertical 0; |
Plus, I guess having the --contained
modifier allows for more customization from outside for people using this, so it's good.
Do you think it makes sense to update the Storybook with the new layouts as well?
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.
Do you think it makes sense to update the Storybook with the new layouts as well?
Absolutely! 👍
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.
Added: 8ee61e9
In order to get this panel in Storybook:
Do this:
- Press
a
on keyboard - Then press
d
That's just how weird Storybook is.
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.
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.
👍
No description provided.