chore: make mobile menu ui more native-like (#2594)
This commit is contained in:
@@ -390,7 +390,7 @@ function TableActionMenu({ onClose, tableCellNode: _tableCellNode, cellMerge }:
|
||||
(tableCellNode.__headerState & TableCellHeaderStates.COLUMN) === TableCellHeaderStates.COLUMN
|
||||
|
||||
return (
|
||||
<Menu className="dropdown" ref={dropDownRef} a11yLabel="Table actions menu" isOpen>
|
||||
<Menu className="dropdown !px-0" ref={dropDownRef} a11yLabel="Table actions menu" isOpen>
|
||||
{mergeCellButton}
|
||||
{!!mergeCellButton && <MenuItemSeparator />}
|
||||
<MenuItem onClick={() => insertTableRowAtSelection(false)}>
|
||||
|
||||
@@ -685,7 +685,7 @@ const ToolbarPlugin = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<Menu a11yLabel="Table of contents" isOpen>
|
||||
<Menu a11yLabel="Table of contents" isOpen className="!px-0">
|
||||
{tableOfContents.map(([key, text, tag]) => (
|
||||
<MenuItem
|
||||
key={key}
|
||||
|
||||
Reference in New Issue
Block a user