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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[64226] Project overview page renders an h2 inside an h3 (#19018)
Behrokh Satarnejad27e0dffbc893
diff --git a/app/views/homescreen/blocks/_header.html.erb b/app/views/homescreen/blocks/_header.html.erbindex fe2fbafb16d..716f30c2d2f 100644--- a/app/views/homescreen/blocks/_header.html.erb+++ b/app/views/homescreen/blocks/_header.html.erb@@ -1,5 +1,5 @@<div class="op-widget-box--header" data-test-selector="op-widget-box--header"><div class="op-widget-box--header-title title-container">- <h2 class="editable-toolbar-title--fixed"><%= title %></h2>+ <h3 class="editable-toolbar-title--fixed"><%= title %></h3></div></div>diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.html b/frontend/src/app/features/boards/board/board-list/board-list.component.htmlindex 775369993e0..6d27cc435c8 100644--- a/frontend/src/app/features/boards/board/board-list/board-list.component.html+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.html@@ -17,16 +17,17 @@[ndcDynamicComponent]="headerComponent"[ndcDynamicInputs]="{ resource: actionResource }"></ndc-dynamic>- <editable-toolbar-title *ngIf="!headerComponent"- [title]="query.name"- [smallHeader]="true"- [inFlight]="inFlight"- (onSave)="renameQuery(query, $event)"- [editable]="canRename"- [initialFocus]="initiallyFocused"- class="-small">- </editable-toolbar-title>-+ <h3 class="toolbar-title--container">+ <editable-toolbar-title *ngIf="!headerComponent"+ [title]="query.name"+ [smallHeader]="true"+ [inFlight]="inFlight"+ (onSave)="renameQuery(query, $event)"+ [editable]="canRename"+ [initialFocus]="initiallyFocused"+ class="-small">+ </editable-toolbar-title>+ </h3><board-list-menu class="op-board-list--menu"data-test-selector="op-board-list--menu"[board]="board"diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.htmlindex ba769626b4c..88a4fe71146 100644--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html@@ -7,15 +7,15 @@linkClass="op-back-button_mobile-limited-width"[customBackMethod]="backButtonCallback"></op-back-button>-- <editable-toolbar-title [title]="selectedTitle"- [inFlight]="toolbarDisabled"- [showSaveCondition]="showToolbarSaveButton"- (onSave)="changeChangesFromTitle($event)"- (onEmptySubmit)="updateTitleName('')"- [editable]="titleEditingEnabled">- </editable-toolbar-title>-+ <h2 class="toolbar-title--container">+ <editable-toolbar-title [title]="selectedTitle"+ [inFlight]="toolbarDisabled"+ [showSaveCondition]="showToolbarSaveButton"+ (onSave)="changeChangesFromTitle($event)"+ (onEmptySubmit)="updateTitleName('')"+ [editable]="titleEditingEnabled">+ </editable-toolbar-title>+ </h2><ul class="toolbar-items hide-when-print"*ngIf="showToolbar"><ng-container *ngFor="let definition of toolbarButtonComponents">diff --git a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.htmlindex 2adfde79526..cb4e4866049 100644--- a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html+++ b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html@@ -31,8 +31,8 @@<input-shimclass="editable-toolbar-title--input editable-toolbar-title--input-shim toolbar--editable-toolbar">{{ selectedTitle || text.input_placeholder }}{{ selectedTitle ? ' ' : ''}}</input-shim></div>-<h2 *ngIf="!editable"+<div *ngIf="!editable"[attr.title]="selectedTitle"[ngClass]="{ '-disabled': disabled, '-small': smallHeader }"class="editable-toolbar-title--fixed">{{ selectedTitle }}-</h2>+</div>diff --git a/frontend/src/global_styles/layout/_toolbar.sass b/frontend/src/global_styles/layout/_toolbar.sassindex 82a14d39f1d..b86cf12d995 100644--- a/frontend/src/global_styles/layout/_toolbar.sass+++ b/frontend/src/global_styles/layout/_toolbar.sass@@ -196,6 +196,10 @@ $nm-color-success-background: #d8fdd1vertical-align: text-top// Allow title container to grow+.toolbar-title--container+ display: flex+ flex: 1+.title-containerflex: 1 1white-space: nowrap