Skip to content

Commit

Permalink
fix: pop over alignment (#13194)
Browse files Browse the repository at this point in the history
* feat(ContentSwitcher): preliminary unstable refactor

* fix: update popover aligment

* weird commit

* weird commit

* weird commit

* weird commit
  • Loading branch information
andreancardona authored Feb 22, 2023
1 parent 2f5261e commit 252ef8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/styles/scss/components/popover/_popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ $popover-caret-height: custom-property.get-var(
// moved farther than the caret
transform: translate(
calc(-1 * $popover-offset),
calc(-1 * 0.5 * $popover-offset)
calc(-1 * 0.5 * $popover-offset + 16px)
);
}

Expand All @@ -344,7 +344,7 @@ $popover-caret-height: custom-property.get-var(
// moved farther than the caret
transform: translate(
calc(-1 * $popover-offset),
calc(0.5 * $popover-offset)
calc(0.5 * $popover-offset - 16px)
);
}

Expand Down

0 comments on commit 252ef8e

Please sign in to comment.