Why is the HoverCard content by default set to have a width of 64 (w-64)? #3612
NjengaFelix
started this conversation in
Ideas
Replies: 1 comment
-
i also agree with you on this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue
The hoverCardContent by default is set to have a width of 64 (w-84)
Given
The children of your hovercard need to fit the width of the card
Then
You have no choice but to introduce a tailwindcss w-fit classname as by default the hover card
has a w-64.
<HoverCardContent className="w-fit">{children}</HoverCardContent>
Question
Shouldn't the hover card content by default not define a width?
Beta Was this translation helpful? Give feedback.
All reactions