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

Left align the progress modal per default to avoid that users have to move their mouse too much

Henriette Darge2078fe6bb8da
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/progress-popover-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/progress-popover-edit-field.component.html
index 0473d04f362..ef0a376e5d1 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/progress-popover-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/progress-popover-edit-field.component.html
@@ -1,7 +1,7 @@
<spot-drop-modal
[opened]="opened"
(closed)="onModalClosed()"
- alignment="bottom-center"
+ alignment="bottom-start"
>
<input
slot="trigger"
diff --git a/frontend/src/app/spot/components/drop-modal/drop-modal.component.ts b/frontend/src/app/spot/components/drop-modal/drop-modal.component.ts
index b077f640cb7..9ad1fac07e2 100644
--- a/frontend/src/app/spot/components/drop-modal/drop-modal.component.ts
+++ b/frontend/src/app/spot/components/drop-modal/drop-modal.component.ts
@@ -40,8 +40,8 @@ export class SpotDropModalComponent implements OnDestroy {
@Input() public allowRepositioning = true;
/**
- * The default alignment of the drop modal. There are twelve alignments in total. You can check which ones they are
- * from the `SpotDropAlignmentOption` Enum that is available in 'core-app/spot/drop-alignment-options'.
+ * The default alignment of the drop modal. There are twelve alignments in total. You can check which ones they are in
+ * @floating-ui/utils: `Placement` in floating-ui.utils.d.ts
*/
@Input() public alignment:Placement = 'bottom-start';
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 44a3b80e4db..84f075f49f2 100644
--- a/frontend/src/app/spot/styles/sass/components/drop-modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/drop-modal.sass
@@ -6,7 +6,6 @@
position: absolute
@include spot-z-index("drop-modal", 1)
- pointer-events: none
pointer-events: all
opacity: 1