-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fixed contact menu position on comments #7251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7251 +/- ##
============================================
- Coverage 50.86% 50.86% -0.01%
Complexity 24551 24551
============================================
Files 1585 1585
Lines 93815 93815
Branches 1354 1354
============================================
- Hits 47720 47716 -4
- Misses 46095 46099 +4
|
The arrow tip was 1px off from the avatar centre. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
The contacts menu was being shown as "inline-block", which caused the top of the menu to be aligned to the top of the author row. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7b21867 to
4eb9c01
Compare
|
Unfortunately setting the I have investigated the issue and it turns out that the commit 2348d14 did not break the position; the vertical position was already wrong, that commit just made it more evident ;-) The real cause was displaying the child I must admit, however, that I do not understand why displaying the contacts menu popover as a block aligns it to the center of the avatar (I can not see any Anyway I took the liberty to amend your commit to just fix the horizontal position and add another commit to fix the vertical position by displaying the contacts menu as a block; I did that using the |
|
@danxuliu Sorry I did not realised there was a popover for the main avatar as well :) |
|
@danxuliu there, I fixed most of the stuff. |
4eb9c01 to
6bdb7b4
Compare
pixelipo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| } | ||
|
|
||
| #commentsTabView .comments li .message .atwho-inserted { | ||
| margin-left: 5px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be applied to .avatar-name-wrapper instead.
No problem, I should have mentioned it in the original issue ;-)
Thanks :-) But... can I ask what was wrong with the fix that I pushed to this branch? Also, from what I see with your new changes the tip of the arrow of the tooltip is no longer at the centre of the avatar, but a little to the right and to the bottom (although maybe that is intended, I do not know). |
I'm an idiot, I overwrite it with my push! 🙈 |
xD To be honest I thought it was something like that :-P Do not worry; I can rebase your new changes on mines or push to a different branch so you can compare. As you prefer ;-) |
|
@danxuliu don't mock me! :p |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6bdb7b4 to
5591ea6
Compare
You have my blessing :-P I have rebased your last commit onto my previous changes; due to my changes it seems that your last commit is not needed to fix the contact menu position, but I prefer you to check it. Also, even if it was not needed to fix the position it may cover other cases I am not aware of, or simply enhance the CSS rules (I am aware of but not very familiar with flex displays, so I do not know its implications here). In any case the commit message should be reworded ;-) Besides all that, from what I can see the tip of the arrow is slightly moved to the right and to the bottom. It is caused by @pixelipo |
nickvergessen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
Although #7256 was merged cleanly some of the changes really conflicted with those introduced by the last commit of #7251, and this broke the appearance of the author row of comments. This commit fixes those silent conflicts and restores the appearance of the author row. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>



Fix #7250
The popover needs a fix too for the activity app, but this needs to be done on the activity repo.