How to set the content of popover content equal to width of longest text #2859
Unanswered
tanujgyan-geotab
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to set the width of the popover content equal to width of the longest text. I tried using the [variable ](width: var(--radix-popover-content-available-width)) but it sets the width of content as width of viewport which looks like an overkill in my case. Please help me with any ideas on how to achieve this
Beta Was this translation helpful? Give feedback.
All reactions