Skip to content
Snippets Groups Projects
Commit 465d0764 authored by TobiasReiter's avatar TobiasReiter
Browse files

fixed details modal

parent b0307ef5
No related branches found
No related tags found
1 merge request!54feat: details modal fixes #51
......@@ -97,7 +97,7 @@ const InfoModal = ({ show, onClose, details }) => {
{data.modal.click}
</Link>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="flex w-full">
<div>
<Section title={data.modal.questionCount}>
<span className="pl-1">{details?.questionCount || "0"}</span>
......
......@@ -24,7 +24,7 @@ const Modal = ({ show, onClose, children }) => {
return (
<div className="fixed inset-0 z-50 flex items-center justify-center">
<div className="bg-black bg-opacity-50 fixed inset-0" onClick={onClose} />
<div className="bg-white rounded-lg shadow-md p-6 max-h-[550px] overflow-y-auto relative z-10">
<div className="bg-white rounded-lg shadow-md p-6 max-h-[550px] min-w-[600px] overflow-y-auto relative z-10">
{children}
</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