Skip to content
Snippets Groups Projects
Commit 847f6e86 authored by Adrian Orłów's avatar Adrian Orłów
Browse files

fix: modal container size

parent 7c4a8216
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!74feat: add modal
Pipeline #82837 passed
...@@ -24,14 +24,14 @@ export const Modal = (): React.ReactNode => { ...@@ -24,14 +24,14 @@ export const Modal = (): React.ReactNode => {
role={MODAL_ROLE} role={MODAL_ROLE}
> >
<div className="flex h-full w-full items-center justify-center"> <div className="flex h-full w-full items-center justify-center">
<div className="flex flex-col overflow-hidden rounded-lg "> <div className="flex h-5/6 w-10/12 flex-col overflow-hidden rounded-lg">
<div className="flex items-center justify-between bg-white p-[24px] text-xl"> <div className="flex items-center justify-between bg-white p-[24px] text-xl">
<div>{modalTitle}</div> <div>{modalTitle}</div>
<button type="button" onClick={handleCloseModal} aria-label="close button"> <button type="button" onClick={handleCloseModal} aria-label="close button">
<Icon name="close" className="fill-font-500" /> <Icon name="close" className="fill-font-500" />
</button> </button>
</div> </div>
<div>{isOpen && modalName === 'overview-images' && <OverviewImagesModal />}</div> {isOpen && modalName === 'overview-images' && <OverviewImagesModal />}
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment