more fixes, add fullwidth
This commit is contained in:
parent
7b99d98c55
commit
8b775f94a9
12 changed files with 63 additions and 47 deletions
|
@ -99,7 +99,7 @@ const Popover = {
|
|||
const yOffset = (this.offset && this.offset.y) || 0
|
||||
const translateY = usingTop
|
||||
? -anchorEl.offsetHeight - yOffset - content.offsetHeight
|
||||
: yOffset
|
||||
: -yOffset
|
||||
|
||||
const xOffset = (this.offset && this.offset.x) || 0
|
||||
const translateX = (anchorEl.offsetWidth * 0.5) - content.offsetWidth * 0.5 + horizOffset + xOffset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue