Chips are now nowrap

This commit is contained in:
DrMint 2022-03-17 17:04:08 +01:00
parent 62aafe423e
commit 3364a8f560
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ type ChipProps = {
export default function Chip(props: ChipProps): JSX.Element {
return (
<div
className={`grid relative place-content-center place-items-center text-xs pb-[0.14rem] px-1.5 border-[1px] rounded-full opacity-70 transition-[color,_opacity,_border-color] hover:opacity-100 ${props.className}`}
className={`grid place-content-center place-items-center text-xs pb-[0.14rem] whitespace-nowrap px-1.5 border-[1px] rounded-full opacity-70 transition-[color,_opacity,_border-color] hover:opacity-100 ${props.className}`}
>
{props.children}
</div>