[FE] Fixes #36: Make cert presets into buttons instead of div
This commit is contained in:
parent
27a088eb1e
commit
fd4d31e0a5
@ -8,13 +8,13 @@ export function Chip(props: {text: string, selected: boolean, select: () => void
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
<button
|
||||
class={`inline-block px-3 py-1 border border-c-outline rounded-md text-sm cursor-pointer
|
||||
hover:bg-c-surface-variant hover:text-c-on-surface-variant transition-colors
|
||||
select-none ${selectedClasses()}`}
|
||||
onClick={props.select}
|
||||
>
|
||||
{props.text}
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user