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

Fix drop modal mobile height

Benjamin Bädorfef9109c61260
diff --git a/frontend/src/app/spot/styles/sass/components/drop-modal.sass b/frontend/src/app/spot/styles/sass/components/drop-modal.sass
index 1e0e61076c7..34574d3f91d 100644
--- a/frontend/src/app/spot/styles/sass/components/drop-modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/drop-modal.sass
@@ -14,7 +14,7 @@
left: $spot-spacing-1
right: $spot-spacing-1
width: calc(100vw - (2 * #{$spot-spacing-1}))
- max-height: calc(100vh - (#{$spot-spacing-3_5} - #{$spot-spacing-1}))
+ max-height: calc(100vh - (#{$spot-spacing-3_5} + #{$spot-spacing-1}))
box-shadow: $spot-shadow-light-mid
background: $spot-color-basic-white
@@ -24,8 +24,9 @@
bottom: $spot-spacing-1
top: $spot-spacing-1
right: $spot-spacing-3_5
- height: calc(100vw - (2 * #{$spot-spacing-1}))
- width: calc(100vh - (#{$spot-spacing-3_5} - #{$spot-spacing-1}))
+ max-height: unset
+ height: calc(100vh - (2 * #{$spot-spacing-1}))
+ width: calc(100vw - (#{$spot-spacing-3_5} + #{$spot-spacing-1}))
@media #{$spot-mq-drop-modal-in-context}
position: absolute