Actions
Patch #44810
closedAlign activity entry elements to the top
Patch #44810:
Align activity entry elements to the top
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
Updated by Marius BĂLTEANU 5 days ago
- Status changed from New to Resolved
- Assignee set to Marius BĂLTEANU
Patch committed, thanks!
Updated by Marius BĂLTEANU 4 days ago
- Status changed from Resolved to Closed
Updated by Marius BĂLTEANU 4 days ago
- Target version changed from 6.1.7 to 6.0.13
Actions