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:
parent
760ceb19a0
commit
13bf79720f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user