fix: allow reference of float card to expand based on content (#406)
This commit is contained in:
@@ -43,7 +43,11 @@ export const CharacterFloatCard: React.FC<{
|
||||
|
||||
return (
|
||||
<>
|
||||
<span className="inline" ref={refs.setReference} {...getReferenceProps()}>
|
||||
<span
|
||||
className="inline-block"
|
||||
ref={refs.setReference}
|
||||
{...getReferenceProps()}
|
||||
>
|
||||
{children}
|
||||
</span>
|
||||
{isMounted && (
|
||||
|
||||
Reference in New Issue
Block a user