moneyadviceservice/cms — pull request #63 by ourmaninamsterdam (2014-11-03 10:51:45+00:00)
Title: Popover improvements

Fixes a positioning issue where the Popover component wouldn't position itself when within `position: fixed`. This means that the target now attaches itself to the body of the page when activated, then returns to its original location when deactivated.

It also now takes into account `padding`, `margin` and `border` applied to the `

` of the page, which jQuery doesn't include when using the `offset()` method.