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

Reduce spacings in date picker

Henriette Dargec050cbfdc07c
diff --git a/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass b/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass
index d7415f67f4e..9cad619e11d 100644
--- a/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass
+++ b/frontend/src/app/shared/components/datepicker/styles/datepicker.modal.sass
@@ -8,7 +8,7 @@
@media #{$spot-mq-drop-modal-in-context}
height: unset
- min-height: 486px
+ min-height: 475px // Avoid jump in height when the calendar has 6 rows to display all weeks
width: 100vw
// Basically the width of the two calendars next to each other + spacings
// will be overwritten on mobile
@@ -52,7 +52,7 @@
visibility: hidden
&--flatpickr-instance.inline
- margin: 1rem auto !important
+ margin: 0.5rem auto !important
&--stretch-content
flex-grow: 1
@@ -63,7 +63,7 @@
// Of specificity here to overwrite the
// nested spot-container styles
&.spot-container
- margin-top: $spot-spacing-0_5
+ margin-top: 0
@media screen and (max-width: $breakpoint-sm)
.op-datepicker-modal