Skip to content
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

Update padding for embed wrapper #12106

Open
wants to merge 2 commits into
base: latest
Choose a base branch
from
Open

Conversation

emilysaffron
Copy link
Contributor

@emilysaffron emilysaffron commented Oct 28, 2024

Overall changes

Updates top and bottom padding for embed wrapper to be 8px as requested by UX

Code changes

  • A bullet point list of key code changes that have been made.

Testing

  1. Visit http://localhost:7081/mundo/live/c5w1wlz68l4t?renderer_env=test and check the padding on the embed wrappers

Helpful Links

Add Links to useful resources related to this PR if applicable.

Coding Standards

Repository use guidelines

@emilysaffron emilysaffron self-assigned this Oct 28, 2024
@@ -25,7 +25,7 @@ const getWrapperHeightStyles = oEmbed => {
};

const Wrapper = styled.div`
margin-bottom: ${GEL_SPACING_TRPL};
margin: ${GEL_SPACING} 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will affect embeds in Articles as well. Is that required/expected by UX?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah lol just realised that too ! Talking through it with UX now - can ignore this PR for now 🤦

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No probs! Just wanted to check 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants