mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Show shortcuts dialog when pressing ?
(#1224)
This commit is contained in:
parent
0eb2f7092b
commit
9a0889c698
11 changed files with 317 additions and 5 deletions
|
@ -28,7 +28,14 @@ export function Modal(props: {
|
|||
aria-labelledby={props.labelledBy}
|
||||
>
|
||||
<div className="Modal__background" onClick={props.onCloseRequest}></div>
|
||||
<div className="Modal__content" style={{ maxWidth: props.maxWidth }}>
|
||||
<div
|
||||
className="Modal__content"
|
||||
style={{
|
||||
maxWidth: props.maxWidth,
|
||||
maxHeight: "100%",
|
||||
overflowY: "scroll",
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
</div>
|
||||
</div>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue