Actions
Defect #43492
closedInitials avatar shrink in the Activity view when event titles are long
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
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
Updated by Mizuki ISHIKAWA about 1 month ago
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 {
Updated by Katsuya HIDAKA about 1 month ago
I confirmed that the patch mentioned in #note-1 fixes this issue and works as expected in Chrome, Safari and Firefox. Looks good.
Updated by Go MAEDA about 1 month ago
- Status changed from Confirmed to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix in r24170. Thank you.
Updated by Go MAEDA about 1 month ago
- Status changed from Resolved to Closed
Merged the fix into 6.1-stable in r24172.
Actions