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

Fixed smaller things in file picker frontend

Andreas Pfohl2051e13294bb
diff --git a/frontend/src/app/shared/components/file-links/file-picker-modal/file-picker-modal.html b/frontend/src/app/shared/components/file-links/file-picker-modal/file-picker-modal.html
index bbdb7159670..9f51e918c11 100644
--- a/frontend/src/app/shared/components/file-links/file-picker-modal/file-picker-modal.html
+++ b/frontend/src/app/shared/components/file-links/file-picker-modal/file-picker-modal.html
@@ -2,7 +2,7 @@
class="spot-modal spot-modal_wide"
>
<div class="spot-modal--header">
- <span class="spot-modal--header_title">{{text.header}}</span>
+ <span class="spot-modal--header-title">{{text.header}}</span>
<button
type="button"
class="button button_no-margin"
@@ -47,7 +47,7 @@
></button>
<button
type="button"
- class="button -highlight spot-action-bar--action"
+ class="button spot-action-bar--action"
[ngClass]="{ '-highlight': selectedFileCount > 0 }"
[disabled]="selectedFileCount === 0"
(click)="createSelectedFileLinks()"
diff --git a/frontend/src/app/shared/components/file-links/storage-file-list-item/storage-file-list-item.html b/frontend/src/app/shared/components/file-links/storage-file-list-item/storage-file-list-item.html
index 8df9670bfe0..ca8bb4fe528 100644
--- a/frontend/src/app/shared/components/file-links/storage-file-list-item/storage-file-list-item.html
+++ b/frontend/src/app/shared/components/file-links/storage-file-list-item/storage-file-list-item.html
@@ -3,7 +3,7 @@
>
<spot-checkbox
[checked]="selected"
- (click)="changeSelection.emit()"
+ (checkedChange)="changeSelection.emit()"
></spot-checkbox>
<span
class="spot-icon spot-icon_{{fileLinkIcon.icon}} op-files-tab--icon op-files-tab--icon_{{fileLinkIcon.clazz}}"
diff --git a/frontend/src/app/spot/styles/sass/components/modal.sass b/frontend/src/app/spot/styles/sass/components/modal.sass
index a7279dae8d4..61665fec1c5 100644
--- a/frontend/src/app/spot/styles/sass/components/modal.sass
+++ b/frontend/src/app/spot/styles/sass/components/modal.sass
@@ -47,7 +47,7 @@
margin-right: $spot-spacing-0-5
font-size: 1rem
- &_title
+ &-title
flex-grow: 1
&_highlight