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

Fix legend tooltip

Oliver Güntherdc1eb4d75ff5
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
index 65ab41f1ebf..746696c40a1 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.html
@@ -10,7 +10,7 @@
></span>
<p
slot="body"
- class="spot-body-small"
+ class="spot-body-small op-baseline-legends--tooltip"
>
{{ text.in_your_timezone }}
{{ localDate }}
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
index 226b57a122c..6b8c868a3f5 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-legends/baseline-legends.component.sass
@@ -13,6 +13,9 @@
align-items: center
column-gap: $spot-spacing-0_5
+ &--tooltip
+ width: max-content
+
&--details
display: flex
flex-direction: row