diff --git a/src/plugins/presentation_util/public/components/solution_toolbar/items/button.tsx b/src/plugins/presentation_util/public/components/solution_toolbar/items/button.tsx index ee1bbd64b5f87..a0a868875382d 100644 --- a/src/plugins/presentation_util/public/components/solution_toolbar/items/button.tsx +++ b/src/plugins/presentation_util/public/components/solution_toolbar/items/button.tsx @@ -24,7 +24,7 @@ export const SolutionToolbarButton = ({ label, primary, className, ...rest }: Pr {...rest} size="m" color={primary ? 'primary' : 'text'} - className={`solutionToolbarButton ${className}`} + className={`${primary ? '' : 'solutionToolbarButton'} ${className}`} fill={primary} > {label} diff --git a/src/plugins/presentation_util/public/components/solution_toolbar/items/popover.tsx b/src/plugins/presentation_util/public/components/solution_toolbar/items/popover.tsx index fea6bf41a1601..6f968d940b12d 100644 --- a/src/plugins/presentation_util/public/components/solution_toolbar/items/popover.tsx +++ b/src/plugins/presentation_util/public/components/solution_toolbar/items/popover.tsx @@ -7,8 +7,7 @@ */ import React, { useState } from 'react'; -import { EuiPopover } from '@elastic/eui'; -import { Props as EuiPopoverProps } from '@elastic/eui/src/components/popover/popover'; +import { EuiPopover, EuiPopoverProps } from '@elastic/eui'; import { SolutionToolbarButton, Props as ButtonProps } from './button';