mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(ui/box-selectors): make multi use square [EE-3856] (#8470)
This commit is contained in:
parent
e0481f69b1
commit
69a91ff90a
7 changed files with 37 additions and 46 deletions
|
@ -51,10 +51,14 @@ export function BoxOption<T extends Value>({
|
|||
{!disabled && (
|
||||
<div
|
||||
className={clsx(
|
||||
'absolute top-4 right-4 flex h-4 w-4 items-center justify-center rounded-full border border-solid border-blue-8 font-bold text-white',
|
||||
'absolute top-4 right-4 flex h-4 w-4 items-center justify-center border border-solid font-bold text-white',
|
||||
{
|
||||
'bg-white': !selected,
|
||||
'bg-blue-8': selected,
|
||||
'border-gray-6 bg-white': !selected,
|
||||
'border-blue-8 bg-blue-8': selected,
|
||||
},
|
||||
{
|
||||
'rounded-full': type === 'radio',
|
||||
'rounded-sm': type === 'checkbox',
|
||||
}
|
||||
)}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue