Skip to content

Commit

Permalink
Replacing the hardcoded value with variables, and ensuring the popove…
Browse files Browse the repository at this point in the history
…r accounts for the boderwidth. (#23035)
  • Loading branch information
shaunandrews authored Jun 11, 2020
1 parent 26363cf commit 2e9db83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/popover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ $arrow-size: 8px;
}

.components-popover:not([data-y-axis="middle"])[data-x-axis="right"] & {
margin-left: -24px;
margin-left: -($grid-unit-30 + $border-width);
}

.components-popover[data-x-axis="left"] & {
Expand All @@ -212,7 +212,7 @@ $arrow-size: 8px;
}

.components-popover:not([data-y-axis="middle"])[data-x-axis="left"] & {
margin-right: -24px;
margin-right: -($grid-unit-30 + $border-width);
}
}

Expand Down

0 comments on commit 2e9db83

Please sign in to comment.