feat(ui): adopt Lyra theme
This commit is contained in:
@@ -86,7 +86,7 @@ const RichTextEditor = dynamic(
|
||||
{
|
||||
ssr: false,
|
||||
loading: () => (
|
||||
<div className="h-32 animate-pulse rounded-md border bg-muted/40" />
|
||||
<div className="h-32 animate-pulse border bg-muted/40" />
|
||||
),
|
||||
},
|
||||
);
|
||||
@@ -582,7 +582,7 @@ export default function FormEditorClient({ form, initialQuestions }: FormEditorC
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-center gap-2 self-end sm:self-auto">
|
||||
<div className="flex items-center gap-1 border rounded-md p-1">
|
||||
<div className="flex items-center gap-1 border p-1">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
@@ -633,7 +633,7 @@ export default function FormEditorClient({ form, initialQuestions }: FormEditorC
|
||||
src={q.imageUrl}
|
||||
alt={q.label}
|
||||
unoptimized
|
||||
className="w-32 h-auto rounded-md border object-contain"
|
||||
className="h-auto w-32 border object-contain"
|
||||
/>
|
||||
<Button
|
||||
variant="destructive"
|
||||
@@ -649,7 +649,7 @@ export default function FormEditorClient({ form, initialQuestions }: FormEditorC
|
||||
<div className="flex items-center gap-2">
|
||||
<Label
|
||||
htmlFor={`img-upload-${q.id}`}
|
||||
className="flex items-center gap-2 px-3 py-2 border rounded-md cursor-pointer hover:bg-accent text-sm text-muted-foreground"
|
||||
className="flex cursor-pointer items-center gap-2 border px-3 py-2 text-sm text-muted-foreground hover:bg-accent"
|
||||
>
|
||||
{uploadingId === q.id ? (
|
||||
<Loader2 className="w-4 h-4 animate-spin text-primary" />
|
||||
|
||||
Reference in New Issue
Block a user