Upgrade to Tailwind CSS v4 (#1173)

This commit is contained in:
Brandon McConnell 2025-09-09 15:44:07 -04:00 committed by GitHub
parent 4ce76987a1
commit 848205f5cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
76 changed files with 1098 additions and 1050 deletions

View file

@ -18,13 +18,13 @@ export function ImageEditor({
}: ImageEditorProps) {
return (
<div
className={cn('flex flex-row items-center justify-center w-full', {
className={cn('flex w-full flex-row items-center justify-center', {
'h-[calc(100dvh-60px)]': !isInline,
'h-[200px]': isInline,
})}
>
{status === 'streaming' ? (
<div className="flex flex-row gap-4 items-center">
<div className="flex flex-row items-center gap-4">
{!isInline && (
<div className="animate-spin">
<LoaderIcon />
@ -35,7 +35,7 @@ export function ImageEditor({
) : (
<picture>
<img
className={cn('w-full h-fit max-w-[800px]', {
className={cn('h-fit w-full max-w-[800px]', {
'p-0 md:p-20': !isInline,
})}
src={`data:image/png;base64,${content}`}