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
Make work and remaining work columns 200px wide
Christophe Bliard4e9404dc8c15
diff --git a/frontend/src/app/features/work-packages/components/wp-fast-table/builders/cell-builder.ts b/frontend/src/app/features/work-packages/components/wp-fast-table/builders/cell-builder.tsindex c886431540e..1aa5a1d0e62 100644--- a/frontend/src/app/features/work-packages/components/wp-fast-table/builders/cell-builder.ts+++ b/frontend/src/app/features/work-packages/components/wp-fast-table/builders/cell-builder.ts@@ -39,7 +39,7 @@ export class CellBuilder {}if (['estimatedTime', 'remainingTime'].includes(attribute)) {- td.classList.add('-min-150');+ td.classList.add('-min-200');}const schema = this.schemaCache.of(workPackage);diff --git a/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html b/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.htmlindex dba6b27aafc..baa0baa1217 100644--- a/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html+++ b/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html@@ -30,7 +30,7 @@</div></th><th *ngFor="let column of columns; trackBy:trackByHref"- [ngClass]="{'-max': column.id === 'subject', '-min-150': ['estimatedTime', 'remainingTime'].includes(column.id) }"+ [ngClass]="{'-max': column.id === 'subject', '-min-200': ['estimatedTime', 'remainingTime'].includes(column.id) }"class="wp-table--table-header"><sortHeader [headerColumn]="column"[locale]="column.custom_field && column.custom_field.name_locale || locale"diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sassindex a4d0f4d0094..4c567dd18af 100644--- a/frontend/src/global_styles/content/_table.sass+++ b/frontend/src/global_styles/content/_table.sass@@ -196,9 +196,9 @@ table.generic-tablewidth: 100%max-width: 500px- &.-min-150+ &.-min-200@media screen- min-width: 150px+ min-width: 200px// The avatar image is not taken into the width calculation of the table cell by the browser.// That is why we add the space manually.