mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Change shortcuts menu to help menu (#2812)
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
This commit is contained in:
parent
07cc858926
commit
ce2c341910
17 changed files with 470 additions and 437 deletions
|
@ -80,7 +80,7 @@ export const Dialog = (props: {
|
|||
onCloseRequest={props.onCloseRequest}
|
||||
>
|
||||
<Island ref={setIslandNode}>
|
||||
<h3 id="dialog-title" className="Dialog__title">
|
||||
<h2 id="dialog-title" className="Dialog__title">
|
||||
<span className="Dialog__titleContent">{props.title}</span>
|
||||
<button
|
||||
className="Modal__close"
|
||||
|
@ -89,7 +89,7 @@ export const Dialog = (props: {
|
|||
>
|
||||
{useIsMobile() ? back : close}
|
||||
</button>
|
||||
</h3>
|
||||
</h2>
|
||||
<div className="Dialog__content">{props.children}</div>
|
||||
</Island>
|
||||
</Modal>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue