Skip to content

Commit c2bb20f

Browse files
committed
fix: hydration - p inside span
1 parent 46dde90 commit c2bb20f

File tree

1 file changed

+2
-2
lines changed
  • src/components/Glossary/GlossaryDefinition

1 file changed

+2
-2
lines changed

src/components/Glossary/GlossaryDefinition/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ const GlossaryDefinition = ({
4242
/>
4343
</h4>
4444

45-
<span className={cn(textClasses)}>
45+
<div className={cn("inline-block", textClasses)}>
4646
<Translation
4747
id={term + "-definition"}
4848
options={options}
4949
transform={components}
5050
/>
51-
</span>
51+
</div>
5252
</Stack>
5353
)
5454
}

0 commit comments

Comments
 (0)