diff --git a/public/components/context_menu/context_menu_ui.js b/public/components/context_menu/context_menu_ui.js index c145e2d9..49dde6a4 100644 --- a/public/components/context_menu/context_menu_ui.js +++ b/public/components/context_menu/context_menu_ui.js @@ -15,8 +15,8 @@ export const getMenuItem = (name) => { export const popoverMenu = (savedObjectAvailable) => { const buttonClass = savedObjectAvailable - ? 'euiContextMenuItem' - : 'euiContextMenuItem euiContextMenuItem-isDisabled'; + ? 'euiContextMenuItem euiContextMenuItem--small' + : 'euiContextMenuItem euiContextMenuItem--small euiContextMenuItem-isDisabled'; const button = savedObjectAvailable ? 'button' : 'button disabled'; const message = savedObjectAvailable ? i18n.translate('opensearch.reports.menu.visual.waitPrompt', { @@ -44,7 +44,7 @@ export const popoverMenu = (savedObjectAvailable) => {
-
+
${i18n.translate( 'opensearch.reports.menu.visual.generateReport', @@ -53,9 +53,8 @@ export const popoverMenu = (savedObjectAvailable) => {
- - ${message} - +
+

${message}

@@ -79,7 +78,7 @@ export const popoverMenu = (savedObjectAvailable) => {
-
+
${i18n.translate( 'opensearch.reports.menu.visual.scheduleAndShare', @@ -99,7 +98,7 @@ export const popoverMenu = (savedObjectAvailable) => {
-
+
${i18n.translate('opensearch.reports.menu.visual.view', { defaultMessage: 'View', @@ -134,8 +133,8 @@ export const popoverMenu = (savedObjectAvailable) => { // TODO: merge this function and popoverMenu() into one export const popoverMenuDiscover = (savedObjectAvailable) => { const buttonClass = savedObjectAvailable - ? 'euiContextMenuItem' - : 'euiContextMenuItem euiContextMenuItem-isDisabled'; + ? 'euiContextMenuItem euiContextMenuItem--small' + : 'euiContextMenuItem euiContextMenuItem--small euiContextMenuItem-isDisabled'; const button = savedObjectAvailable ? 'button' : 'button disabled'; const message = savedObjectAvailable ? i18n.translate('opensearch.reports.menu.csv.waitPrompt', { @@ -159,9 +158,9 @@ export const popoverMenuDiscover = (savedObjectAvailable) => {
-
+
-
+
${i18n.translate( 'opensearch.reports.menu.csv.generateReport', @@ -197,7 +196,7 @@ export const popoverMenuDiscover = (savedObjectAvailable) => {
-
+
${i18n.translate( 'opensearch.reports.menu.scheduleAndShare', @@ -219,7 +218,7 @@ export const popoverMenuDiscover = (savedObjectAvailable) => {
-
+
${i18n.translate('opensearch.reports.menu.csv.view', { defaultMessage: 'View',