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

Make minimal fields smaller (such as date fields) && align attribute separator correctly

Henriette Dinger9ac284f84a45
diff --git a/app/assets/stylesheets/content/_attributes_key_value.sass b/app/assets/stylesheets/content/_attributes_key_value.sass
index 2addf04e60d..95bcf5b9baa 100644
--- a/app/assets/stylesheets/content/_attributes_key_value.sass
+++ b/app/assets/stylesheets/content/_attributes_key_value.sass
@@ -60,10 +60,12 @@
.attributes-key-value--value-separator
margin: 0px 4px
+ line-height: normal
&:after
display: inline
content: '-'
+ vertical-align: middle
.attributes-key-value--value
@include grid-visible-overflow
diff --git a/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass b/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
index d8f1a7b0bac..fb2fd19b1d0 100644
--- a/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
+++ b/app/assets/stylesheets/content/work_packages/inplace_editing/_display_fields.sass
@@ -118,3 +118,6 @@
editable-attribute-field
width: 100%
+
+ .-minimal &
+ width: initial