mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Better fix for Safari user card position
Better than a2c6683e3bc4486418fafd4c9f59151557ca84d6
This commit is contained in:
parent
ba727b2875
commit
44fe2eec03
@ -169,9 +169,8 @@ export default Ember.Mixin.create({
|
||||
if (target) {
|
||||
if (!this.site.mobileView) {
|
||||
let position = target.offset();
|
||||
if (target.parents(".d-header")) {
|
||||
position = target.position();
|
||||
position.left += 10;
|
||||
if (target.parents(".d-header").length > 0) {
|
||||
position.top = target.position().top;
|
||||
}
|
||||
|
||||
if (position) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user