Skip to content

Commit

Permalink
Popover: Fix arrow color to match content border color (#24208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Jul 27, 2020
1 parent 952ad64 commit 2a8872c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/components/src/popover/stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ export const _default = () => {
'firstElement'
);
const noArrow = boolean( 'noArrow', false );
const isAlternate = boolean( 'isAlternate', false );

const props = {
animate,
children,
focusOnMount,
noArrow,
isAlternate,
};

if ( ! show ) {
Expand Down
6 changes: 5 additions & 1 deletion packages/components/src/popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ $arrow-size: 8px;
margin-left: 2px;

&::before {
border: $arrow-size solid $gray-900;
border: $arrow-size solid $gray-400;
}

&.is-alternate::before {
border-color: $gray-900;
}

&::after {
Expand Down

0 comments on commit 2a8872c

Please sign in to comment.