Skip to content

Updated side modal, broke padding in all slot modal components #4005

Discussion options

You must be logged in to vote

Hi Colleen! Yes, the issue is how the slot was set up 😵. Since it is using the side-modal-body as the slot, it doesn't keep the pre-set margins. The correct way is to use the component inside the slot example paragraph and replace it with your custom content OR use the slot variant (slot variant has a slight adjustment needed I will work on)

Screen.Recording.2024-07-29.at.8.50.52.AM.mov

You could apply the margins in your local component, and it would update all of them to look correct, but that risks future spacing changes not being reflected in your modal.

Screen.Recording.2024-07-29.at.8.43.28.AM.mov

Let me know if that helps you.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

ceyerkes
Jul 26, 2024
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ceyerkes
Comment options

ceyerkes Jul 29, 2024
Maintainer Author

Answer selected by roxanagomez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants