Skip to content

Commit

Permalink
Remove popover-arrow margin to fix alignment of the arrow (#32787)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
mdo and XhmikosR committed Jan 15, 2021
1 parent 987715f commit bb19b08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scss/_popover.scss
Expand Up @@ -22,7 +22,6 @@
display: block;
width: $popover-arrow-width;
height: $popover-arrow-height;
margin: 0 $popover-border-radius;

&::before,
&::after {
Expand Down Expand Up @@ -64,7 +63,6 @@
left: subtract(-$popover-arrow-height, $popover-border-width);
width: $popover-arrow-height;
height: $popover-arrow-width;
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners

&::before {
left: 0;
Expand Down Expand Up @@ -121,7 +119,6 @@
right: subtract(-$popover-arrow-height, $popover-border-width);
width: $popover-arrow-height;
height: $popover-arrow-width;
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners

&::before {
right: 0;
Expand Down

0 comments on commit bb19b08

Please sign in to comment.