Skip to content

Commit

Permalink
FIX: Updating spacing of Popover (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipdanisko authored and vepor committed May 6, 2019
1 parent 4966a27 commit 1e6c3a4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Popover/components/ContentWrapper.js
Expand Up @@ -45,8 +45,7 @@ const StyledPopoverParent = styled.div`
border-top-right-radius: 9px; /* TODO: Add token */
animation: ${showAnimation} ${({ theme }) => theme.orbit.durationFast} linear;
background-color: ${({ theme }) => theme.orbit.backgroundModal}; // TODO: Add token
padding: ${({ theme, noPadding }) => (noPadding ? 0 : theme.orbit.spaceSmall)};
padding-top: ${({ theme, noPadding }) => (noPadding ? 0 : theme.orbit.spaceMedium)};
padding: ${({ theme, noPadding }) => (noPadding ? 0 : theme.orbit.spaceMedium)};
box-shadow: ${({ theme }) => theme.orbit.boxShadowElevatedLevel1};
overflow: hidden;
z-index: 1000;
Expand Down Expand Up @@ -95,7 +94,7 @@ StyledOverlay.defaultProps = {
};

const StyledPopoverClose = styled.div`
padding: ${({ theme, noPadding }) => (noPadding ? theme.orbit.spaceSmall : 0)};
padding: ${({ theme, noPadding }) => (noPadding ? theme.orbit.spaceMedium : 0)};
padding-top: ${({ theme }) => theme.orbit.spaceMedium};
${media.largeMobile(css`
Expand Down

0 comments on commit 1e6c3a4

Please sign in to comment.