Fix banner overflow

This commit is contained in:
Gregory Schier
2024-09-04 07:33:21 -07:00
parent 9600d8ba1c
commit 48b288b1a6

View File

@@ -14,8 +14,9 @@ export function Banner({ children, className, color = 'secondary' }: Props) {
className={classNames(
className,
`x-theme-banner--${color}`,
'border border-dashed italic px-3 py-2 rounded select-auto cursor-text',
'border-border-subtle bg-surface-highlight text',
'border border-dashed border-border-subtle bg-surface-highlight',
'italic px-3 py-2 rounded select-auto cursor-text',
'overflow-x-auto text-text',
)}
>
{children}