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

remove width value for spot-tooltip-body so it gets the max value of its content

bsatarnejad18ff86cedff7
diff --git a/frontend/src/app/shared/components/show-changes/show-changes.component.sass b/frontend/src/app/shared/components/show-changes/show-changes.component.sass
index 2604f7e2227..5fe76879307 100644
--- a/frontend/src/app/shared/components/show-changes/show-changes.component.sass
+++ b/frontend/src/app/shared/components/show-changes/show-changes.component.sass
@@ -37,5 +37,5 @@
margin-left: $spot-spacing-0_5
&-tooltip-body
- width: 220px
+ max-width: 220px
display: block
diff --git a/frontend/src/app/spot/styles/sass/components/tooltip.sass b/frontend/src/app/spot/styles/sass/components/tooltip.sass
index d0298911c84..95baaf62859 100644
--- a/frontend/src/app/spot/styles/sass/components/tooltip.sass
+++ b/frontend/src/app/spot/styles/sass/components/tooltip.sass
@@ -9,7 +9,6 @@
pointer-events: none
// This keeps the element rendered in the DOM and thus readable by screen readers
opacity: 0.001
- width: auto
transition-property: transform, opacity
transition-timing-function: ease