mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(ui): box-selector fixes [EE-3949] (#7489)
This commit is contained in:
parent
8d304b78cb
commit
ace01eac9d
44 changed files with 770 additions and 616 deletions
19
app/react/components/BoxSelector/BadgeIcon.tsx
Normal file
19
app/react/components/BoxSelector/BadgeIcon.tsx
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { Icon, IconProps } from '@@/Icon';
|
||||
|
||||
type Props = IconProps;
|
||||
|
||||
export function BadgeIcon({ icon, featherIcon }: Props) {
|
||||
return (
|
||||
<div
|
||||
className={`badge-icon
|
||||
text-3xl h-14 w-14
|
||||
bg-blue-3 text-blue-8
|
||||
th-dark:bg-gray-9 th-dark:text-blue-3
|
||||
rounded-full
|
||||
inline-flex items-center justify-center
|
||||
`}
|
||||
>
|
||||
<Icon icon={icon} feather={featherIcon} className="feather !flex" />
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue