Style updates
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ActionIcon, Group, Switch, Tooltip } from '@mantine/core';
|
||||
import { FiPower, FiTrash } from 'react-icons/fi';
|
||||
import { switchClasses } from 'styles';
|
||||
import { switchClasses, toolTipClasses } from 'styles';
|
||||
|
||||
export function ManagementPill({
|
||||
enabled,
|
||||
@@ -29,15 +29,10 @@ export function ManagementPill({
|
||||
}}
|
||||
>
|
||||
<Tooltip
|
||||
c={'var(--mantine-color-primary-0)'}
|
||||
bg={'var(--mantine-color-background-0)'}
|
||||
bd={'solid 1px var(--mantine-color-border-0)'}
|
||||
className={toolTipClasses.default}
|
||||
classNames={toolTipClasses}
|
||||
label={label[enabled]}
|
||||
refProp='rootRef'
|
||||
styles={{
|
||||
tooltip: { marginTop: '-.5rem' },
|
||||
arrow: { border: 'solid 1px var(--mantine-color-accent-0)' },
|
||||
}}
|
||||
withArrow
|
||||
>
|
||||
<Switch
|
||||
@@ -57,9 +52,8 @@ export function ManagementPill({
|
||||
</Tooltip>
|
||||
|
|
||||
<Tooltip
|
||||
c={'var(--mantine-color-primary-0)'}
|
||||
bg={'var(--mantine-color-background-0)'}
|
||||
bd={'solid 1px var(--mantine-color-border-0)'}
|
||||
className={toolTipClasses.default}
|
||||
classNames={toolTipClasses}
|
||||
label={'Delete'}
|
||||
>
|
||||
<ActionIcon
|
||||
|
||||
Reference in New Issue
Block a user