Skip to content

Commit

Permalink
Center Wide Popover on larger Viewports
Browse files Browse the repository at this point in the history
The margin was not updated when the width was changed resulting in the popover being offset to the right.
  • Loading branch information
jpoehnelt committed Jul 10, 2015
1 parent 4f703ff commit 7b97fc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/_popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,6 @@
@media (min-width: $popover-large-break-point) {
.popover {
width: $popover-large-width;
margin-left: -$popover-large-width / 2;
}
}

0 comments on commit 7b97fc2

Please sign in to comment.