mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 11:44:23 +01:00
Adjust context menu and use open colors (#553)
* Adjust context menu and use open colors * word wrap * revert colors & padding Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
@@ -26,11 +26,7 @@ function ContextMenu({ options, onCloseRequest, top, left }: Props) {
|
||||
>
|
||||
<ul className="context-menu" onContextMenu={e => e.preventDefault()}>
|
||||
{options.map((option, idx) => (
|
||||
<li
|
||||
key={idx}
|
||||
className="context-menu__option"
|
||||
onClick={onCloseRequest}
|
||||
>
|
||||
<li key={idx} onClick={onCloseRequest}>
|
||||
<ContextMenuOption {...option} />
|
||||
</li>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user