🐛 fix(promptComponent): remove unnecessary gap-3 class from prompt component to fix alignment issue

🐛 fix(textAreaComponent): remove unnecessary flex class from text area component to fix alignment issue
This commit is contained in:
Cristhian Zanforlin Lousa 2023-06-30 17:23:05 -03:00
commit 51f1323610
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ export default function PromptAreaComponent({
disabled ? "pointer-events-none cursor-not-allowed w-full" : " w-full" disabled ? "pointer-events-none cursor-not-allowed w-full" : " w-full"
} }
> >
<div className="w-full flex items-center gap-3"> <div className="w-full flex items-center">
<span <span
onClick={() => { onClick={() => {
openPopUp( openPopUp(
@ -49,7 +49,7 @@ export default function PromptAreaComponent({
}} }}
className={ className={
editNode editNode
? "cursor-pointer truncate placeholder:text-center text-ring border-1 block w-full pt-0.5 pb-0.5 form-input rounded-md border-ring shadow-sm sm:text-sm" + ? "cursor-pointer truncate placeholder:text-center text-ring border-1 block w-full pt-0.5 pb-0.5 form-input text-sm rounded-md border-ring shadow-sm sm:text-sm" +
INPUT_STYLE INPUT_STYLE
: "truncate block w-full text-ring px-3 py-2 rounded-md border border-ring shadow-sm sm:text-sm" + : "truncate block w-full text-ring px-3 py-2 rounded-md border border-ring shadow-sm sm:text-sm" +
(disabled ? " bg-input" : "") (disabled ? " bg-input" : "")

View file

@ -31,7 +31,7 @@ export default function TextAreaComponent({
<div <div
className={ className={
editNode editNode
? "w-full flex items-center" ? "w-full items-center"
: "w-full flex items-center gap-3" : "w-full flex items-center gap-3"
} }
> >