Upgrade to Tailwind CSS v4 (#1173)
This commit is contained in:
parent
4ce76987a1
commit
848205f5cb
76 changed files with 1098 additions and 1050 deletions
|
|
@ -53,19 +53,19 @@ export function MessageEditor({
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-2 w-full">
|
||||
<div className="flex w-full flex-col gap-2">
|
||||
<Textarea
|
||||
data-testid="message-editor"
|
||||
ref={textareaRef}
|
||||
className="bg-transparent outline-none overflow-hidden resize-none !text-base rounded-xl w-full"
|
||||
className="w-full resize-none overflow-hidden rounded-xl bg-transparent text-base! outline-hidden"
|
||||
value={draftContent}
|
||||
onChange={handleInput}
|
||||
/>
|
||||
|
||||
<div className="flex flex-row gap-2 justify-end">
|
||||
<div className="flex flex-row justify-end gap-2">
|
||||
<Button
|
||||
variant="outline"
|
||||
className="h-fit py-2 px-3"
|
||||
className="h-fit px-3 py-2"
|
||||
onClick={() => {
|
||||
setMode('view');
|
||||
}}
|
||||
|
|
@ -75,7 +75,7 @@ export function MessageEditor({
|
|||
<Button
|
||||
data-testid="message-editor-send-button"
|
||||
variant="default"
|
||||
className="h-fit py-2 px-3"
|
||||
className="h-fit px-3 py-2"
|
||||
disabled={isSubmitting}
|
||||
onClick={async () => {
|
||||
setIsSubmitting(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue