1
0
Fork 0
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:
Ali 2023-02-13 10:04:24 +13:00 committed by GitHub
parent 9f6702d0b8
commit 58d66d3142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
226 changed files with 704 additions and 699 deletions

View file

@ -32,7 +32,7 @@ export function FormControl({
<div
className={clsx(
'form-group',
'after:content-[""] after:clear-both after:table' // to fix issues with float
'after:clear-both after:table after:content-[""]' // to fix issues with float
)}
>
<label

View file

@ -25,7 +25,7 @@ export function FormSection({
id={`foldingButton${title}`}
type="button"
onClick={() => setIsExpanded(!isExpanded)}
className="border-0 mx-2 !ml-0 bg-transparent inline-flex justify-center items-center w-2"
className="mx-2 !ml-0 inline-flex w-2 items-center justify-center border-0 bg-transparent"
>
<Icon
icon={isExpanded ? ChevronDown : ChevronRight}

View file

@ -12,7 +12,7 @@ export function FormSectionTitle({
return (
<label
htmlFor={htmlFor}
className="col-sm-12 form-section-title cursor-pointer flex items-center"
className="col-sm-12 form-section-title flex cursor-pointer items-center"
>
{children}
</label>

View file

@ -7,7 +7,7 @@
}
.slider :global .rc-slider-handle {
@apply border-blue-8 border-2;
@apply border-2 border-blue-8;
width: 24px;
height: 24px;
margin-top: -8px;

View file

@ -42,7 +42,7 @@ export function SwitchField({
return (
<label className={clsx(styles.root, fieldClass)}>
<span
className={clsx('text-left space-right control-label !p-0', labelClass)}
className={clsx('space-right control-label !p-0 text-left', labelClass)}
>
{label}
{tooltip && (