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

Correctly style the datepicker arrow and frame border

Henriette Darge85b30f6c15e2
diff --git a/frontend/src/global_styles/content/_datepicker.sass b/frontend/src/global_styles/content/_datepicker.sass
index d353b25a2b1..0ea275f1583 100644
--- a/frontend/src/global_styles/content/_datepicker.sass
+++ b/frontend/src/global_styles/content/_datepicker.sass
@@ -81,8 +81,11 @@ $datepicker--selected-border-radius: 5px
box-shadow: none !important
@include spot-caption
- &.open.arrowTop:before
- border-bottom-color: var(--body-background)
+ &.open.arrowTop
+ &:before
+ border-bottom-color: var(--borderColor-default)
+ &:after
+ border-bottom-color: var(--body-background)
.flatpickr-months
min-height: 45px
@@ -265,7 +268,7 @@ $datepicker--selected-border-radius: 5px
border-color: var(--bgColor-disabled) !important
.flatpickr-calendar:not(.inline)
- box-shadow: var(--shadow-resting-medium) !important
+ box-shadow: var(--shadow-floating-small) !important
padding: $spot-spacing-0_5 !important
width: max-content !important