mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
improvement: Make dialogs look more like dialogs (#2686)
Co-authored-by: Jed Fox <git@jedfox.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
eb1f717d35
commit
69878167c2
6 changed files with 24 additions and 28 deletions
|
@ -36,11 +36,7 @@ export const Modal = (props: {
|
|||
<div className="Modal__background" onClick={props.onCloseRequest}></div>
|
||||
<div
|
||||
className="Modal__content"
|
||||
style={{
|
||||
"--max-width": `${props.maxWidth}px`,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
}}
|
||||
style={{ "--max-width": `${props.maxWidth}px` }}
|
||||
>
|
||||
{props.children}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue