feat: make device breakpoints more specific (#7243)

This commit is contained in:
David Luzar
2023-11-06 16:29:00 +01:00
committed by GitHub
parent 18a7b97515
commit b1037b342d
28 changed files with 164 additions and 121 deletions

View File

@@ -14,7 +14,7 @@ const MenuItemContent = ({
<>
<div className="dropdown-menu-item__icon">{icon}</div>
<div className="dropdown-menu-item__text">{children}</div>
{shortcut && !device.isMobile && (
{shortcut && !device.editor.isMobile && (
<div className="dropdown-menu-item__shortcut">{shortcut}</div>
)}
</>