Skip to content
Discussion options

You must be logged in to vote

Hi @jaymehta1986


Generally speaking you will not be able to apply a Classname, style attribute or CSS attribute to any Paste component. If you can, it's a bug, and will likely break in the future when we spot it.

⚠️ Please don't do this. 🙏


Positioning and layout

For positioning we ask you to think compositionally. You have two components in a layout (Text, Popover, aligned centrally). You will need to place your text and popover inside a layout that you create that aligns the two components together. You can do this a number of ways, potentially the easiest will be a simple box

<Box display="flex" alignItems="center">
  <Text></Text>
  <Popover />
</Box>

This codesandbox goes over a fe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jaymehta-twilio
Comment options

Answer selected by corinne-nagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants