style: media query for hiding shortcuts for mobile view (#2667)

Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
Harshil Parmar
2020-12-27 00:53:51 +05:30
committed by GitHub
parent bc414ccaaf
commit 8091ac6c08
2 changed files with 21 additions and 7 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ const ContextMenu = ({ options, onCloseRequest, top, left }: Props) => {
${checked ? "checkmark" : ""}`}
onClick={action}
>
<div>{label}</div>
<div>
<div className="context-menu-option__label">{label}</div>
<div className="context-menu-option__shortcut">
{shortcutName
? getShortcutFromShortcutName(shortcutName)
: ""}