Skip to content

Commit 7b97fc2

Browse files
committed
Center Wide Popover on larger Viewports
The margin was not updated when the width was changed resulting in the popover being offset to the right.
1 parent 4f703ff commit 7b97fc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: scss/_popover.scss

+1
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,6 @@
163163
@media (min-width: $popover-large-break-point) {
164164
.popover {
165165
width: $popover-large-width;
166+
margin-left: -$popover-large-width / 2;
166167
}
167168
}

0 commit comments

Comments
 (0)