Defect #43492
closed
Initials avatar shrink in the Activity view when event titles are long
Added by Mizuki ISHIKAWA 22 days ago.
Updated 14 days ago.
Description
When viewing the Activity ppage, if a issue has a title long enough to cause a line break, the Initials avatar displayed to its left becomes smaller in proportion to the title length.
This probrem is not limited to Issue but also affects Wiki pages, News, and other items displayed on the Activity page.
This is similar to issue Defect #41821: Icons shrink in the Activity view when event titles are long.

Files
The following modification fixes the problem:
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 0a22e3c81..6d63b86ac 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1980,6 +1980,7 @@ img.filecontent.image {background-image: url(/transparent.png);}
border-radius: 20%;
display: inline-flex;
vertical-align: middle;
+ flex-shrink: 0;
}
span[role="img"].avatar {
I confirmed that the patch mentioned in #note-1 fixes this issue and works as expected in Chrome, Safari and Firefox. Looks good.
- Status changed from New to Confirmed
- Affected version set to 6.1.0
- Target version set to 6.1.1
- Status changed from Confirmed to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix in r24170. Thank you.
- Status changed from Resolved to Closed
Merged the fix into 6.1-stable in r24172.
Also available in: Atom
PDF