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

Give labels more space in attribute maps to avoid a too early cut off

Henriette Dingerc2a84f12dc91
diff --git a/app/assets/stylesheets/content/_attributes_key_value.sass b/app/assets/stylesheets/content/_attributes_key_value.sass
index a5359ead18a..593660fc65a 100644
--- a/app/assets/stylesheets/content/_attributes_key_value.sass
+++ b/app/assets/stylesheets/content/_attributes_key_value.sass
@@ -74,12 +74,12 @@
.attributes-map
display: grid
- grid-template-columns: 1fr 4fr
+ grid-template-columns: 1fr 2fr
grid-auto-rows: auto
grid-gap: 1rem
&.-minimal-keys
- grid-template-columns: max-content 4fr
+ grid-template-columns: max-content 2fr
.attributes-map--key
@include text-shortener
@@ -91,3 +91,5 @@
.attributes-map--value
// empty for now but it makes sense to also have it present in the style declaration IMO
zoom: 1
+ @include text-shortener
+ white-space: normal