1
1
mirror of https://github.com/primer/css.git synced 2025-01-06 05:33:07 +03:00

make Popover positioning more flexible

This commit is contained in:
Brandon Rosage 2017-11-02 16:42:51 -05:00
parent 760ceb19a0
commit 13bf79720f

View File

@ -1,13 +1,11 @@
.Popover {
position: absolute;
right: 0;
left: 0;
z-index: 100;
}
.Popover-message {
position: relative;
max-width: 235px;
width: 235px;
margin-right: auto;
margin-left: auto;
@ -70,5 +68,8 @@
}
.Popover-message--lg {
max-width: 330px;
@include breakpoint(sm) {
min-width: 330px;
}
}