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

Remove space between drop modal and the trigger element

Henriette Darged6bc65c7ede6
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 73983436a01..5a566ea956e 100644
--- a/frontend/src/app/spot/styles/sass/components/drop-modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/drop-modal.sass
@@ -43,55 +43,55 @@
max-height: calc(100vh - (2 * #{$spot-spacing-1}))
&_left-top
- right: calc(100% + #{$spot-spacing-0_25})
+ right: 100%
top: 0%
&_left-center
- right: calc(100% + #{$spot-spacing-0_25})
+ right: 100%
top: 50%
transform: translateY(-50%)
&_left-bottom
- right: calc(100% + #{$spot-spacing-0_25})
+ right: 100%
bottom: 0%
&_bottom-left
- top: calc(100% + #{$spot-spacing-0_25})
+ top: 100%
left: 0%
&_bottom-center
- top: calc(100% + #{$spot-spacing-0_25})
+ top: 100%
left: 50%
transform: translateX(-50%)
&_bottom-right
- top: calc(100% + #{$spot-spacing-0_25})
+ top: 100%
right: 0%
&_right-top
- left: calc(100% + #{$spot-spacing-0_25})
+ left: 100%
top: 0%
&_right-center
- left: calc(100% + #{$spot-spacing-0_25})
+ left: 100%
top: 50%
transform: translateY(-50%)
&_right-bottom
- left: calc(100% + #{$spot-spacing-0_25})
+ left: 100%
bottom: 0%
&_top-left
- bottom: calc(100% + #{$spot-spacing-0_25})
+ bottom: 100%
left: 0%
&_top-center
- bottom: calc(100% + #{$spot-spacing-0_25})
+ bottom: 100%
left: 50%
transform: translateX(-50%)
&_top-right
- bottom: calc(100% + #{$spot-spacing-0_25})
+ bottom: 100%
right: 0%
// TODO: At some point, this needs to be a cleverer selector.