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

set height of drop modal body to auto in single modal date picker

bsatarnejadcd96a64315ce
diff --git a/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.sass b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.sass
new file mode 100644
index 00000000000..c835262de44
--- /dev/null
+++ b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.sass
@@ -0,0 +1,3 @@
+@media screen and (max-width: 679px)
+ .spot-drop-modal--body
+ height: auto !important
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.ts b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.ts
index 210acc84f10..28f68c11eee 100644
--- a/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.ts
+++ b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.ts
@@ -64,7 +64,7 @@ export const opModalSingleDatePickerSelector = 'op-modal-single-date-picker';
@Component({
selector: opModalSingleDatePickerSelector,
templateUrl: './modal-single-date-picker.component.html',
- styleUrls: ['../styles/datepicker.modal.sass'],
+ styleUrls: ['../styles/datepicker.modal.sass', './modal-single-date-picker.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
providers: [