Fixed button appearing at start

This commit is contained in:
Lucas Oliveira 2023-07-11 21:35:31 -03:00
commit 4ece1f13ff

View file

@ -220,8 +220,9 @@ export default function GenericModal({
</div>
<div className="mt-4 flex h-fit w-full items-end justify-between">
<div className="mb-auto flex-1">
{type === TypeModal.PROMPT && (
<div className="mb-auto mr-2 max-h-20 flex-1 overflow-y-auto custom-scroll">
<div className=" mr-2 max-h-20 overflow-y-auto custom-scroll">
<div className="flex flex-wrap items-center">
<Variable className=" -ml-px mr-1 flex h-4 w-4 text-primary"></Variable>
<span className="text-md font-semibold text-primary">
@ -253,6 +254,7 @@ export default function GenericModal({
</div>
</div>
)}
</div>
<Button
onClick={() => {
switch (myModalType) {