(
className={cn('relative py-1', state.className, className)}
{...props}
>
-
+
{children}
diff --git a/src/components/plate-ui/code-leaf.tsx b/src/components/plate-ui/code-leaf.tsx
index dd0c48a..a1b24f1 100644
--- a/src/components/plate-ui/code-leaf.tsx
+++ b/src/components/plate-ui/code-leaf.tsx
@@ -12,7 +12,7 @@ export const CodeLeaf = withRef(
ref={ref}
asChild
className={cn(
- 'whitespace-pre-wrap rounded-md bg-muted px-[0.3em] py-[0.2em] font-mono text-sm',
+ 'bg-muted whitespace-pre-wrap rounded-md px-[0.3em] py-[0.2em] font-mono text-sm',
className
)}
{...props}
diff --git a/src/components/plate-ui/color-dropdown-menu-items.tsx b/src/components/plate-ui/color-dropdown-menu-items.tsx
index 8714bdd..f68a0a9 100644
--- a/src/components/plate-ui/color-dropdown-menu-items.tsx
+++ b/src/components/plate-ui/color-dropdown-menu-items.tsx
@@ -47,7 +47,7 @@ export function ColorDropdownMenuItem({
size: 'icon',
variant: 'outline',
}),
- 'my-1 flex size-6 items-center justify-center rounded-full border border-solid border-muted p-0 transition-all hover:scale-125',
+ 'border-muted my-1 flex size-6 items-center justify-center rounded-full border border-solid p-0 transition-all hover:scale-125',
!isBrightColor && 'border-transparent text-white hover:!text-white',
className
)}
diff --git a/src/components/plate-ui/column-group-element.tsx b/src/components/plate-ui/column-group-element.tsx
index 10d903b..5aec9a0 100644
--- a/src/components/plate-ui/column-group-element.tsx
+++ b/src/components/plate-ui/column-group-element.tsx
@@ -60,7 +60,7 @@ export function ColumnFloatingToolbar({ children }: React.PropsWithChildren) {
side="top"
sideOffset={10}
>
-
+
diff --git a/src/components/plate-ui/command.tsx b/src/components/plate-ui/command.tsx
index 0a4b9dc..3395a99 100644
--- a/src/components/plate-ui/command.tsx
+++ b/src/components/plate-ui/command.tsx
@@ -19,7 +19,7 @@ import { inputVariants } from './input';
export const Command = withCn(
CommandPrimitive,
- 'flex size-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground'
+ 'bg-popover text-popover-foreground flex size-full flex-col overflow-hidden rounded-md'
);
export function CommandDialog({ children, ...props }: DialogProps) {
@@ -27,7 +27,7 @@ export function CommandDialog({ children, ...props }: DialogProps) {