Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Position action icons below the link and the notification bubble to avoid them jumping to the left

Henriette Darge2803b743f4d5
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
index 8078367090d..e517866d7d1 100644
--- a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html
@@ -9,6 +9,7 @@
data-qa-selector="revision-activity-bubble"
></span>
<activity-link
+ class="comments-number--link"
[workPackage]="workPackage"
[activityNo]="activityNo"
></activity-link>
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
index 6f260d7de06..1dce3d57075 100644
--- a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html
@@ -27,6 +27,7 @@
data-qa-selector="user-activity-bubble"
></span>
<activity-link
+ class="comments-number--link"
[workPackage]="workPackage"
[activityNo]="activityNo"
></activity-link>
diff --git a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass b/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
index a5cfbc7f829..6036ae24be7 100644
--- a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
+++ b/frontend/src/global_styles/content/work_packages/tabs/_activities.sass
@@ -52,17 +52,19 @@
position: absolute
right: 0
top: 10px
- display: flex
+ display: grid
align-items: center
- justify-content: flex-end
+ grid-template: auto auto / auto auto
+ grid-column-gap: 5px
- &--bubble
- margin-right: 5px
+ &--link
+ grid-column-end: 3
.comments-icons
padding: 0
text-align: right
display: block
+ grid-column: 1 / 3
i
padding: 5px 0 0 5px
display: inline-block