File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
packages/compass-aggregations/src/components/focus-mode Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,6 @@ const menuStyles = css({
7070 width : '240px' ,
7171} ) ;
7272
73- const menuItemStyles = css ( {
74- '&:after' : {
75- content : 'attr(data-hotkey)' ,
76- whiteSpace : 'nowrap' ,
77- } ,
78- } ) ;
79-
8073const tooltipContentStyles = css ( {
8174 display : 'flex' ,
8275 alignItems : 'center' ,
@@ -307,17 +300,15 @@ export const FocusModeModalHeader: React.FunctionComponent<
307300 } }
308301 >
309302 < MenuItem
310- className = { menuItemStyles }
311303 onClick = { onAddStageAfter }
312- data-hotkey = { formatHotkey ( ADD_STAGE_AFTER_HOTKEY ) }
304+ description = { formatHotkey ( ADD_STAGE_AFTER_HOTKEY ) }
313305 data-text = "Add stage after"
314306 >
315307 Add stage after
316308 </ MenuItem >
317309 < MenuItem
318- className = { menuItemStyles }
319310 onClick = { onAddStageBefore }
320- data-hotkey = { formatHotkey ( ADD_STAGE_BEFORE_HOTKEY ) }
311+ description = { formatHotkey ( ADD_STAGE_BEFORE_HOTKEY ) }
321312 data-text = "Add stage before"
322313 >
323314 Add stage before
You can’t perform that action at this time.
0 commit comments