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

[chore] fix height and width of file picker

Eric Schubert701f4398f24e
diff --git a/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html b/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
index 365b4eec263..801f5897fa6 100644
--- a/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
+++ b/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
@@ -1,5 +1,5 @@
<div
- class="spot-modal spot-modal_wide op-file-picker"
+ class="spot-modal op-file-picker"
data-qa-selector="op-files-picker-modal"
>
<div class="spot-modal--header">
diff --git a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
index 5f850423500..5eb9d152d75 100644
--- a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
+++ b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
@@ -1,5 +1,5 @@
<div
- class="spot-modal spot-modal_wide op-file-picker"
+ class="spot-modal op-file-picker"
data-qa-selector="op-files-picker-modal"
>
<div class="spot-modal--header">
diff --git a/frontend/src/global_styles/content/work_packages/shared/_file_picker.sass b/frontend/src/global_styles/content/work_packages/shared/_file_picker.sass
index 25a63e0e9bd..6f7bb23c71d 100644
--- a/frontend/src/global_styles/content/work_packages/shared/_file_picker.sass
+++ b/frontend/src/global_styles/content/work_packages/shared/_file_picker.sass
@@ -36,4 +36,5 @@
&--modal-body
@media #{$spot-mq-desktop}
- height: 65vh
+ height: 50vh
+ max-height: 32rem