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

Fix PR comments

Benjamin Bädorf0c67a5b8218a
diff --git a/frontend/angular.json b/frontend/angular.json
index 5e048461275..9b1f6d8824a 100644
--- a/frontend/angular.json
+++ b/frontend/angular.json
@@ -52,7 +52,8 @@
],
"stylePreprocessorOptions": {
"includePaths": [
- "src/assets/sass/"
+ "src/assets/sass/",
+ "src/app/spot/styles/sass/variables/"
]
},
"scripts": [],
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.sass b/frontend/src/app/shared/components/project-include/project-include.component.sass
index 4bef140756a..5a0d99f8460 100644
--- a/frontend/src/app/shared/components/project-include/project-include.component.sass
+++ b/frontend/src/app/shared/components/project-include/project-include.component.sass
@@ -22,6 +22,9 @@
flex-basis: 100%
overflow: hidden
+ @media screen and #{$spot-mq-drop-modal-in-context}
+ max-height: 40vh
+
&--list
overflow-y: auto
flex-shrink: 1
diff --git a/frontend/src/app/shared/directives/search-highlight.directive.ts b/frontend/src/app/shared/directives/search-highlight.directive.ts
index 073dc43bdf0..31f6ed8e367 100644
--- a/frontend/src/app/shared/directives/search-highlight.directive.ts
+++ b/frontend/src/app/shared/directives/search-highlight.directive.ts
@@ -20,13 +20,13 @@ export class OpSearchHighlightDirective implements AfterViewChecked {
const textNode = Array.from(this.elementRef.nativeElement.childNodes).find((n:Node) => n.nodeType === n.TEXT_NODE) as Node|undefined;
- const content = textNode?.textContent?.toLowerCase() || '';
+ const content = textNode?.textContent || '';
if (!content) {
return;
}
const query = this.query.toLowerCase();
- const startIndex = content.indexOf(query);
+ const startIndex = content.toLowerCase().indexOf(query);
if (startIndex < 0) {
return;
}
diff --git a/frontend/src/app/spot/styles/sass/components/checkbox.sass b/frontend/src/app/spot/styles/sass/components/checkbox.sass
index f3f6cec9322..9b49613788c 100644
--- a/frontend/src/app/spot/styles/sass/components/checkbox.sass
+++ b/frontend/src/app/spot/styles/sass/components/checkbox.sass
@@ -16,6 +16,7 @@
clip: rect(1px,1px,1px,1px)
&--fake
+ position: relative
box-sizing: border-box
display: flex
justify-content: center