fix menu positioning hack

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2016-11-18 14:50:07 +01:00 committed by Roeland Jago Douma
parent 15c075eba8
commit f062c6daee
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -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);
}