updating button colors and moving history button back to the left

This commit is contained in:
Kate Farrar 2021-11-09 12:07:45 -07:00
parent 8d42acd376
commit 51f84e9175
4 changed files with 6 additions and 7 deletions

View file

@ -146,6 +146,7 @@ export function SavedViewsToolbarControls<ViewState>(props: Props<ViewState>) {
data-test-subj="savedViews-openPopover"
iconType="arrowDown"
iconSide="right"
color="text"
>
{currentView
? currentView.name

View file

@ -47,7 +47,6 @@ export const BottomDrawer: React.FC<{
return (
<BottomActionContainer ref={isOpen ? measureRef : null} isOpen={isOpen} outerWidth={width}>
<BottomActionTopBar ref={isOpen ? null : measureRef}>
<LeftSideSpacer />
<EuiFlexItem grow={false}>
<ShowHideButton
aria-expanded={isOpen}
@ -87,6 +86,6 @@ const ShowHideButton = euiStyled(EuiButtonEmpty).attrs({ size: 's' })`
width: 140px;
`;
const LeftSideSpacer = euiStyled(EuiSpacer).attrs({ size: 'xs' })`
const RightSideSpacer = euiStyled(EuiSpacer).attrs({ size: 'xs' })`
width: 140px;
`;

View file

@ -78,14 +78,13 @@ export const LegendControls = ({
const buttonComponent = (
<EuiButtonIcon
iconType="color"
color="primary"
color="text"
display="base"
size="m"
size="s"
aria-label={i18n.translate('xpack.infra.legendControls.buttonLabel', {
defaultMessage: 'configure legend',
})}
onClick={() => setPopoverState(true)}
style={{ width: 50 }}
/>
);

View file

@ -37,8 +37,8 @@ export const ViewSwitcher = ({ view, onChange }: Props) => {
defaultMessage: 'Switch between table and map view',
})}
options={buttons}
color="primary"
buttonSize="m"
color="text"
buttonSize="s"
idSelected={view}
onChange={onChange}
isIconOnly