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

Remove general negative margin from editable toolbars and add it only to the partitioned query space. Thus the title text is aligned with the content below. See original commit that introduced this: https://github.com/opf/openproject/commit/21c8edb2b88e1009cea90845f6937b746a819805

bsatarnejadf1ac6da489e5
diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
index e6466d7fa87..58c987137d6 100644
--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
@@ -42,6 +42,10 @@
.work-packages-partitioned-page--content-left
flex: 1
+ // Move to the left so that the actual header text is aligned with the content below
+ .title-container_editable
+ margin-left: -7px
+
@media only screen and (max-width: 679px)
.work-packages-partitioned-page--content-left,
.work-packages-partitioned-page--content-right
diff --git a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
index 6d4b564873f..da75594c52c 100644
--- a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
+++ b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
@@ -10,5 +10,5 @@
tabindex="0"
>
<span *ngIf="additionalLabel" [textContent]="additionalLabel"></span>
- <op-icon icon-classes="icon icon-no-color icon-help1"></op-icon>
+ <op-icon icon-classes="icon3 icon-help1"></op-icon>
</div>
diff --git a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.sass b/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.sass
deleted file mode 100644
index ee95efdf5fb..00000000000
--- a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.sass
+++ /dev/null
@@ -1,2 +0,0 @@
-attribute-help-text
- margin-right: 10px
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.ts b/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.ts
index 5193146284c..a299dff14f1 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.ts
+++ b/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.ts
@@ -39,7 +39,6 @@ import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
@Component({
templateUrl: './project-description.component.html',
- styleUrls: ['./project-description.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
HalResourceEditingService,
diff --git a/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.sass b/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.sass
deleted file mode 100644
index ee95efdf5fb..00000000000
--- a/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.sass
+++ /dev/null
@@ -1,2 +0,0 @@
-attribute-help-text
- margin-right: 10px
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.ts b/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.ts
index 23b630144fc..2a0dc327181 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.ts
+++ b/frontend/src/app/shared/components/grids/widgets/project-details/project-details.component.ts
@@ -46,7 +46,6 @@ import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
@Component({
templateUrl: './project-details.component.html',
- styleUrls: ['./project-details.component.sass'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [
HalResourceEditingService,
diff --git a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.sass b/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.sass
deleted file mode 100644
index ee95efdf5fb..00000000000
--- a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.sass
+++ /dev/null
@@ -1,2 +0,0 @@
-attribute-help-text
- margin-right: 10px
\ No newline at end of file
diff --git a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.ts b/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.ts
index fc839f8c114..76601709dbd 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.ts
+++ b/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.ts
@@ -53,7 +53,6 @@ import { ApiV3Service } from 'core-app/core/apiv3/api-v3.service';
IsolatedQuerySpace,
HalResourceEditingService,
],
- styleUrls: ['./project-status.component.sass'],
})
export class WidgetProjectStatusComponent extends AbstractWidgetComponent implements OnInit {
@ViewChild('contentContainer', { static: true }) readonly contentContainer:ElementRef;
diff --git a/frontend/src/global_styles/layout/_toolbar.sass b/frontend/src/global_styles/layout/_toolbar.sass
index 5b891b4542d..68620b7c400 100644
--- a/frontend/src/global_styles/layout/_toolbar.sass
+++ b/frontend/src/global_styles/layout/_toolbar.sass
@@ -212,9 +212,6 @@ $nm-color-success-background: #d8fdd1
&.-no-grow
flex-grow: 0
- &_editable
- margin-left: -7px
-
h2
@include text-shortener
padding: 0