mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-17 03:04:26 +01:00
* remove legacy openMenu=shape state and unused actions * close menus/popups in applicable cases when opening a different one * split ui z-indexes to account prefer different overlap * make top canvas area clickable on mobile * make mobile main menu closable by clicking outside and reduce width * offset picker popups from viewport border on mobile * reduce items gap in mobile main menu * show top picks for canvas bg colors in all ui modes * fix menu separator visibility on mobile * fix command palette items not being filtered
16 lines
301 B
TypeScript
16 lines
301 B
TypeScript
import React from "react";
|
|
|
|
const MenuSeparator = () => (
|
|
<div
|
|
style={{
|
|
height: "1px",
|
|
backgroundColor: "var(--default-border-color)",
|
|
margin: ".5rem 0",
|
|
flex: "0 0 auto",
|
|
}}
|
|
/>
|
|
);
|
|
|
|
export default MenuSeparator;
|
|
MenuSeparator.displayName = "DropdownMenuSeparator";
|