Skip to content

Commit

Permalink
Merge pull request #11 from mbondyra/pr/85239
Browse files Browse the repository at this point in the history
Design border changes
  • Loading branch information
flash1293 authored Dec 9, 2020
2 parents cb9484c + 0546966 commit 899e7c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,14 @@
right: 0;
}

.lnsLayerPanel__palette {
border-radius: 0 0 ($euiBorderRadius - 1px) ($euiBorderRadius - 1px);

&::after {
border: none;
}
}

.lnsLayerPanel__dimensionLink {
width: 100%;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export function PaletteIndicator({ accessorConfig }: { accessorConfig: AccessorC
if (accessorConfig.triggerIcon !== 'colorBy' || !accessorConfig.palette) return null;
return (
<div className="lnsLayerPanel__paletteContainer">
<EuiColorPaletteDisplay size="xs" palette={accessorConfig.palette} />
<EuiColorPaletteDisplay
className="lnsLayerPanel__palette"
size="xs"
palette={accessorConfig.palette}
/>
</div>
);
}

0 comments on commit 899e7c4

Please sign in to comment.