Fixed modals

This commit is contained in:
Lucas Oliveira 2024-03-31 22:09:29 +03:00
commit baf1a62280
2 changed files with 6 additions and 6 deletions

View file

@ -115,7 +115,7 @@ function BaseModal({
break;
case "smaller":
minWidth = "min-w-[40vw]";
height = "h-[11rem]";
height = "";
break;
case "smaller-h-full":
minWidth = "min-w-[40vw]";
@ -123,7 +123,7 @@ function BaseModal({
break;
case "small":
minWidth = "min-w-[40vw]";
height = "h-[40vh]";
height = "";
break;
case "small-h-full":
minWidth = "min-w-[40vw]";
@ -131,7 +131,7 @@ function BaseModal({
break;
case "medium":
minWidth = "min-w-[60vw]";
height = "h-[60vh]";
height = "";
break;
case "medium-h-full":
minWidth = "min-w-[60vw]";
@ -155,7 +155,7 @@ function BaseModal({
break;
default:
minWidth = "min-w-[80vw]";
height = "h-[80vh]";
height = "";
break;
}
@ -193,7 +193,7 @@ function BaseModal({
{headerChild}
</div>
<div
className={`flex flex-col h-full w-full transition-all duration-300`}
className={`flex flex-col flex-1 h-full w-full transition-all duration-300`}
>
{ContentChild}
</div>

View file

@ -513,7 +513,7 @@ export default function NodeToolbarComponent({
value={"Share"}
icon={"Share3"}
styleObj={{
iconClasses: "relative top-0.5 -m-1 mr-1 h-6 w-6",
iconClasses: "relative top-0.5 -m-1 mr-[0.25rem] h-6 w-6",
}}
dataTestId="share-button-modal"
/>