mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
chore(prettier): add tailwind prettier plugin [EE-4809] (#8221)
* add prettier plugin * apply tailwind prettier formatting
This commit is contained in:
parent
9f6702d0b8
commit
58d66d3142
226 changed files with 704 additions and 699 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
.root label {
|
||||
@apply border border-solid;
|
||||
@apply bg-gray-2 border-gray-5 text-black;
|
||||
@apply th-dark:bg-gray-iron-10 th-dark:border-gray-neutral-8 th-dark:text-white;
|
||||
@apply border-gray-5 bg-gray-2 text-black;
|
||||
@apply th-dark:border-gray-neutral-8 th-dark:bg-gray-iron-10 th-dark:text-white;
|
||||
@apply th-highcontrast:text-white;
|
||||
|
||||
font-weight: normal;
|
||||
|
@ -42,9 +42,9 @@
|
|||
}
|
||||
|
||||
.root input:checked + label {
|
||||
@apply bg-blue-2 border-blue-6;
|
||||
@apply th-dark:bg-blue-10 th-dark:border-blue-7;
|
||||
@apply th-highcontrast:bg-blue-10 th-highcontrast:border-blue-7;
|
||||
@apply border-blue-6 bg-blue-2;
|
||||
@apply th-dark:border-blue-7 th-dark:bg-blue-10;
|
||||
@apply th-highcontrast:border-blue-7 th-highcontrast:bg-blue-10;
|
||||
|
||||
border-radius: 8px;
|
||||
padding: 15px;
|
||||
|
|
|
@ -51,7 +51,7 @@ export function BoxOption<T extends Value>({
|
|||
{!disabled && (
|
||||
<div
|
||||
className={clsx(
|
||||
'absolute top-4 right-4 h-4 w-4 rounded-full border border-solid border-blue-8 text-white font-bold flex items-center justify-center',
|
||||
'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',
|
||||
{
|
||||
'bg-white': !selected,
|
||||
'bg-blue-8': selected,
|
||||
|
|
|
@ -63,8 +63,8 @@ export function BoxSelectorItem<T extends Value>({
|
|||
<div
|
||||
className={clsx('flex gap-2', {
|
||||
'opacity-30': limitedToBE,
|
||||
'flex-col justify-between h-full': !slim,
|
||||
'items-center slim': slim,
|
||||
'h-full flex-col justify-between': !slim,
|
||||
'slim items-center': slim,
|
||||
})}
|
||||
>
|
||||
<div
|
||||
|
|
|
@ -16,7 +16,7 @@ export function LimitedToBeIndicator({ featureId, tooltipId }: Props) {
|
|||
|
||||
return (
|
||||
<div className="absolute left-0 top-0 w-full">
|
||||
<div className="mx-auto max-w-fit bg-warning-4 rounded-b-lg py-1 px-3 flex gap-1 text-sm items-center">
|
||||
<div className="mx-auto flex max-w-fit items-center gap-1 rounded-b-lg bg-warning-4 py-1 px-3 text-sm">
|
||||
<a href={url} target="_blank" rel="noopener noreferrer">
|
||||
<span className="text-warning-9">BE Feature</span>
|
||||
</a>
|
||||
|
|
|
@ -6,8 +6,8 @@ export function LogoIcon({ icon }: Props) {
|
|||
return (
|
||||
<div
|
||||
className={`
|
||||
text-6xl h-14 w-14
|
||||
inline-flex items-center justify-center
|
||||
inline-flex h-14 w-14
|
||||
items-center justify-center text-6xl
|
||||
`}
|
||||
>
|
||||
<Icon icon={icon} className="!flex" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue