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

Align the date input to have the same colour and height on the time log input

Dombi Attilab5a1d6d879c5
diff --git a/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass b/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
index 9c612a33a59..c3a3bd9699b 100644
--- a/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
+++ b/frontend/src/global_styles/content/work_packages/inplace_editing/_edit_fields.sass
@@ -19,13 +19,20 @@
&:not(.subject) input:not([type='checkbox']):not(.spot-text-field--input):not(.spot-input)
// Full width to inline-edit inputs
width: 100%
+ line-height: 24px
+ font-size: 14px
+ border-radius: 2px
+
+ input:not([type='checkbox'])
// Same height as the row - padding
height: 24px
- line-height: 24px
padding: 2px
- font-size: 14px
color: var(--body-font-color)
- border-radius: 2px
+
+ input.spot-input
+ // The other inputs are getting a min-height from the .op-input class,
+ // for the spot input we have to define it in order to achieve the same height.
+ min-height: 2rem
&.-tiny
input:not([type='checkbox']):not(.spot-text-field--input)