diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-11-24 14:52:01 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-11-24 14:52:01 +0200 |
| commit | 8b775f94a99b4cdda2c8581d1803a0599c8b0e3a (patch) | |
| tree | 47b51a68262b315d4d3f2e702ab380ff4a5263ad /src/components/popover/popover.js | |
| parent | 7b99d98c553f40ec4d633d0d4fdf65f275c80e77 (diff) | |
more fixes, add fullwidth
Diffstat (limited to 'src/components/popover/popover.js')
| -rw-r--r-- | src/components/popover/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index 695f73b9..db4a768b 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -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 |
