Page MenuHomePhabricator

Incorrect height of class "phui-oi-frame"
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Click the caret symbol at the right of avatar, check the menu

What happens?:
Avatar inside menu shown incompletely.

What should have happened instead?:
It should looks normal.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
I know this is actually an upstream issue, but as Phabricator has announced that "Phabricator is no longer actively maintained" since 2021-06-01, I think it is fine to fill a local task.

Event Timeline

Stang updated the task description. (Show Details)
Stang unsubscribed.
Stang removed Stang as the assignee of this task.May 3 2022, 6:30 PM
Stang subscribed.

Seems I could not push changes for review in repo phabricator/phabricator..

diff --git a/webroot/rsrc/css/phui/object-item/phui-oi-simple-ui.css b/webroot/rsrc/css/phui/object-item/phui-oi-simple-ui.css
index e838f1ce3e..fcf2e7ad1b 100644
--- a/webroot/rsrc/css/phui/object-item/phui-oi-simple-ui.css
+++ b/webroot/rsrc/css/phui/object-item/phui-oi-simple-ui.css
@@ -4,7 +4,7 @@
  */
 
 .phui-oi-list-simple .phui-oi-with-image .phui-oi-frame {
-  min-height: 26px;
+  min-height: 36px;
 }
 
 .phui-oi-list-simple .phui-oi-image {
Aklapper changed the task status from Open to Stalled.Jul 13 2023, 6:01 PM

Avatar inside menu shown incompletely.

@Stang: Is this still an issue? Could you attach a screenshot please?

+ min-height: 36px;

Cannot reproduce; that's exactly what it already says here:

Screenshot from 2023-07-13.png (603×1 px, 155 KB)

@Aklapper

image.png (590×483 px, 41 KB)

The issue is that if you don't specify a "also known as" in your profile, the height of div "phui-oi-frame" does not have enough height to display a full avatar

Aklapper changed the task status from Stalled to Open.Jul 14 2023, 8:51 AM
Aklapper moved this task from Backlog to Upstreamed on the Phabricator (Upstream) board.

Ahhhh! Nice catch! I can reproduce. Upstreamed as https://we.phorge.it/T15552

Aklapper triaged this task as Low priority.
Aklapper added a project: CSS.
Aklapper moved this task from Reported Upstream to Patch proposed upstream on the Upstream board.
Aklapper changed the task status from Open to Stalled.Jul 17 2023, 10:04 AM
Aklapper moved this task from Patch proposed upstream to Patch merged upstream on the Upstream board.

[Move tasks resolved in upstream from #phabricator-next (as not every deployment will also pull an updated upstream) to the "Solved upstream" column on the Phabricator (Upstream) workboard]

This issue should be resolved in phabricator.wikimedia.org since 2024-03-19 thanks to brennen's deployment in T358610. Please reopen if you still experience this issue.