fix: allow reference of float card to expand based on content (#406)

This commit is contained in:
UncleBill
2023-04-22 23:58:26 +01:00
committed by GitHub
parent 5c615c4372
commit bbe1e5922e
+5 -1
View File
@@ -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 && (