Fixed button appearing at start
This commit is contained in:
parent
9ec48cbd17
commit
4ece1f13ff
1 changed files with 32 additions and 30 deletions
|
|
@ -220,8 +220,9 @@ export default function GenericModal({
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-4 flex h-fit w-full items-end justify-between">
|
<div className="mt-4 flex h-fit w-full items-end justify-between">
|
||||||
|
<div className="mb-auto flex-1">
|
||||||
{type === TypeModal.PROMPT && (
|
{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">
|
<div className="flex flex-wrap items-center">
|
||||||
<Variable className=" -ml-px mr-1 flex h-4 w-4 text-primary"></Variable>
|
<Variable className=" -ml-px mr-1 flex h-4 w-4 text-primary"></Variable>
|
||||||
<span className="text-md font-semibold text-primary">
|
<span className="text-md font-semibold text-primary">
|
||||||
|
|
@ -253,6 +254,7 @@ export default function GenericModal({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
switch (myModalType) {
|
switch (myModalType) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue