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({
70
70
width : '240px' ,
71
71
} ) ;
72
72
73
- const menuItemStyles = css ( {
74
- '&:after' : {
75
- content : 'attr(data-hotkey)' ,
76
- whiteSpace : 'nowrap' ,
77
- } ,
78
- } ) ;
79
-
80
73
const tooltipContentStyles = css ( {
81
74
display : 'flex' ,
82
75
alignItems : 'center' ,
@@ -307,17 +300,15 @@ export const FocusModeModalHeader: React.FunctionComponent<
307
300
} }
308
301
>
309
302
< MenuItem
310
- className = { menuItemStyles }
311
303
onClick = { onAddStageAfter }
312
- data-hotkey = { formatHotkey ( ADD_STAGE_AFTER_HOTKEY ) }
304
+ description = { formatHotkey ( ADD_STAGE_AFTER_HOTKEY ) }
313
305
data-text = "Add stage after"
314
306
>
315
307
Add stage after
316
308
</ MenuItem >
317
309
< MenuItem
318
- className = { menuItemStyles }
319
310
onClick = { onAddStageBefore }
320
- data-hotkey = { formatHotkey ( ADD_STAGE_BEFORE_HOTKEY ) }
311
+ description = { formatHotkey ( ADD_STAGE_BEFORE_HOTKEY ) }
321
312
data-text = "Add stage before"
322
313
>
323
314
Add stage before
You can’t perform that action at this time.
0 commit comments