Skip to content

Paragraph option in Side Modal Header #4224

Answered by nkrantz
ceyerkes asked this question in General
Discussion options

You must be logged in to vote

Hey @ceyerkes! Yeah, that spacing is definitely off. We have a ticket in the backlog to make some visual improvements to Side Modal, so we'll be sure to take a look at the spacing between the heading and the body. For now you should be able to reduce the top padding of the body in Figma, and if your engineers need to build before we get around to that ticket, they should be able to solve it by wrapping the body content in a Box with some negative top margin spacing.

<SideModal aria-label="Basic Side Modal">
  <SideModalHeader>
    <SideModalHeading>...</SideModalHeading>
  </SideModalHeader>
  <SideModalBody>
    <Box marginTop="spaceNegative100">
      <Paragraph>...</Paragraph>
    </Bo…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

ceyerkes Feb 3, 2025
Maintainer Author

Answer selected by nkrantz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix/Change in Backlog DSYS has acknowledged this improvement and will update the thread with results when we prioritize it
3 participants