Skip to content

Commit 7b67cb6

Browse files
committed
Adds line-height for InlineCode component
1 parent 7bc4f66 commit 7b67cb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/redpanda-ui/components/typography.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ interface InlineCodeProps extends React.HTMLAttributes<HTMLElement>, SharedProps
213213
export function InlineCode({ className, children, testId, ...props }: InlineCodeProps) {
214214
return (
215215
<code
216-
className={cn('relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold text-sm', className)}
216+
className={cn('relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold text-sm leading-8', className)}
217217
data-testid={testId}
218218
{...props}
219219
>

0 commit comments

Comments
 (0)