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
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue