Skip to content

Commit

Permalink
fix(popover): update caret styles to offset ::after element
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Nov 21, 2024
1 parent a91aa93 commit c47225b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/components/primer/beta/popover.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@

&::after {
right: var(--base-size-20);
margin-right: 1px;
}
}

Expand All @@ -111,6 +112,7 @@

&::after {
left: var(--base-size-24);
margin-left: 1px;
}
}

Expand Down Expand Up @@ -167,6 +169,7 @@
left: -14px;
/* stylelint-disable-next-line primer/colors */
border-right-color: var(--overlay-bgColor);
margin-bottom: 1px;
}
}

Expand All @@ -193,6 +196,7 @@

&::after {
bottom: var(--base-size-16);
margin-bottom: 1px;
}
}

Expand Down

0 comments on commit c47225b

Please sign in to comment.