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

@ -39,7 +39,7 @@ function PureDocumentToolResult({
return (
<button
type="button"
className="bg-background cursor-pointer border py-2 px-3 rounded-xl w-fit flex flex-row gap-3 items-start"
className="flex w-fit cursor-pointer flex-row items-start gap-3 rounded-xl border bg-background px-3 py-2"
onClick={(event) => {
if (isReadonly) {
toast.error(
@ -68,7 +68,7 @@ function PureDocumentToolResult({
});
}}
>
<div className="text-muted-foreground mt-1">
<div className="mt-1 text-muted-foreground">
{type === 'create' ? (
<FileIcon />
) : type === 'update' ? (
@ -105,7 +105,7 @@ function PureDocumentToolCall({
return (
<button
type="button"
className="cursor pointer w-fit border py-2 px-3 rounded-xl flex flex-row items-start justify-between gap-3"
className="cursor pointer flex w-fit flex-row items-start justify-between gap-3 rounded-xl border px-3 py-2"
onClick={(event) => {
if (isReadonly) {
toast.error(
@ -130,8 +130,8 @@ function PureDocumentToolCall({
}));
}}
>
<div className="flex flex-row gap-3 items-start">
<div className="text-zinc-500 mt-1">
<div className="flex flex-row items-start gap-3">
<div className="mt-1 text-zinc-500">
{type === 'create' ? (
<FileIcon />
) : type === 'update' ? (
@ -154,7 +154,7 @@ function PureDocumentToolCall({
</div>
</div>
<div className="animate-spin mt-1">{<LoaderIcon />}</div>
<div className="mt-1 animate-spin">{<LoaderIcon />}</div>
</button>
);
}