mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-16 23:44:03 +00:00
Fix styling for overflowing elements
This commit is contained in:
@@ -333,6 +333,7 @@ export default function Modal({
|
||||
}}
|
||||
cancelText={t("cancel")}
|
||||
width={modal === MODAL.NEW ? 740 : 600}
|
||||
bodyStyle={{ maxHeight: window.innerHeight - 280, overflow: "auto" }}
|
||||
>
|
||||
{getModalBody()}
|
||||
</SemiUIModal>
|
||||
|
@@ -10,7 +10,7 @@ export default function New({ selectedTemplateId, setSelectedTemplateId }) {
|
||||
const templates = useLiveQuery(() => db.templates.toArray());
|
||||
|
||||
return (
|
||||
<div className="h-[360px] grid grid-cols-3 gap-2 overflow-auto px-1">
|
||||
<div className="grid grid-cols-3 gap-2 overflow-auto px-1">
|
||||
<div onClick={() => setSelectedTemplateId(0)}>
|
||||
<div
|
||||
className={`rounded-md h-[180px] border-2 hover:border-dashed ${
|
||||
|
Reference in New Issue
Block a user