fix menu positioning hack
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
15c075eba8
commit
f062c6daee
|
@ -114,7 +114,6 @@ input#openid, input#webdav { width:20em; }
|
|||
.federationScopeMenu.bubble::after {
|
||||
right: 50%;
|
||||
transform: translate(50%, 0);
|
||||
margin-right: -8px;
|
||||
}
|
||||
.federationScopeMenu.popovermenu a.menuitem,
|
||||
.federationScopeMenu.popovermenu label.menuitem,
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
|
||||
//Calculate menu position
|
||||
var l = offsetIcon.left - offsetHeading.left;
|
||||
l = l - (menuWidth / 2) + ($el.width()/2);
|
||||
l = l - (menuWidth / 2) + ($el.outerWidth()/2);
|
||||
this.$el.css('left', l);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue