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

[43306] Wrong positioning of workers in notification (#11091)

Behrokh Satarnejade16e7dafd517
diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
index 16e2bf3a66d..8818fc62f0a 100644
--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.sass
@@ -137,3 +137,7 @@ $subject-font-size: 14px
grid-template-columns: max-content auto minmax(20px, max-content)
grid-template-areas: "loadingIndicator count buttons"
grid-column-gap: 5px
+
+ &--actors
+ vertical-align: baseline
+
\ No newline at end of file
diff --git a/frontend/src/global_styles/content/_principal.sass b/frontend/src/global_styles/content/_principal.sass
index 24898f082b1..4a8d73a33b3 100644
--- a/frontend/src/global_styles/content/_principal.sass
+++ b/frontend/src/global_styles/content/_principal.sass
@@ -12,7 +12,6 @@
flex-grow: 1
flex-shrink: 1
min-width: 0 // See: https://css-tricks.com/flexbox-truncated-text/
- margin-left: 10px
&_wrapped &--name
white-space: normal
@@ -25,3 +24,6 @@
@media screen and (max-width: 680px)
&--name
display: none
+
+ .op-avatar + .op-principal--name
+ margin-left: $spot-spacing-0_5
\ No newline at end of file