Actions
Patch #44810
openAlign activity entry elements to the top
Patch #44810:
Align activity entry elements to the top
Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Description
Problem¶
The activity page currently uses the following style for activity entries:
Each activity entry contains elements with different heights, including icons, avatars and text.
Currentry using align-items: flex-end aligns these elements to the bottom of the row, which makes the entries appear visually inconsistent. The effect is particularly noticeable on mobile and narrow-width screens.
Proposed change¶
Change the alignment from:
to:
This aligns the icon, avatar and text from the same starting position and provides a more consistent layout.
Screenshots¶
| Current implementation (r25494) | Proposed change |
|---|---|
|
|
Patch¶
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index cf956782..87f4a528 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1077,7 +1077,7 @@ div#activity dt {
width: 100%;
box-sizing: border-box;
display: flex;
- align-items: flex-end;
+ align-items: flex-start;
}
Files
No data to display
Actions