Commit fb2cd6fb authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: workaround chrome bug for svg in flex container

parent 485af333
Pipeline #166869 passed with stage
in 5 minutes and 20 seconds
export default function CheckMark(): JSX.Element {
export default function CheckMark({
className,
}: {
className?: string
}): JSX.Element {
return (
<svg viewBox="0 0 20 20" fill="currentColor">
<svg viewBox="0 0 20 20" fill="currentColor" className={className}>
<path d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" />
</svg>
)
......
......@@ -35,7 +35,7 @@ function CheckboxComponent(
: 'border-gray-500',
)}
>
{checked === true ? <CheckMark /> : null}
{checked === true ? <CheckMark className="w-5 h-5" /> : null}
</div>
<span>{children}</span>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment