Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
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

screenshot 2025-11-14 10.46.09.png (113 KB) screenshot 2025-11-14 10.46.09.png Mizuki ISHIKAWA, 2025-11-18 01:52
Actions #1

Updated by Mizuki ISHIKAWA 22 days 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 {

Actions #2

Updated by Katsuya HIDAKA 19 days ago

I confirmed that the patch mentioned in #note-1 fixes this issue and works as expected in Chrome, Safari and Firefox. Looks good.

Actions #3

Updated by Go MAEDA 15 days ago

  • Status changed from New to Confirmed
Actions #4

Updated by Go MAEDA 15 days ago

  • Affected version set to 6.1.0
Actions #5

Updated by Go MAEDA 15 days ago

  • Target version set to 6.1.1
Actions #6

Updated by Go MAEDA 15 days ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24170. Thank you.

Actions #7

Updated by Go MAEDA 14 days ago

  • Status changed from Resolved to Closed

Merged the fix into 6.1-stable in r24172.

Actions

Also available in: Atom PDF