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

[37406] Context menu icon in Subject header of the work package list misplaced (#9583)

Behrokh Satarnejad6612b3da0828
diff --git a/frontend/src/app/features/work-packages/components/wp-table/wp-table.directive.html b/frontend/src/app/features/work-packages/components/wp-table/wp-table.directive.html
index 44bacf276f8..d2aeae29a3d 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/wp-table.directive.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/wp-table.directive.html
@@ -21,6 +21,7 @@
</div>
</th>
<th *ngFor="let column of columns; trackBy:trackByHref"
+ [ngClass]="{'-max': column.id === 'subject' }"
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.sass
index 2133e2b344b..d7ea05e04eb 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -124,6 +124,10 @@ table.generic-table
content: '*'
color: var(--primary-color-dark)
padding: 0 0.2rem
+
+ &.-max
+ .generic-table--sort-header
+ max-width: none
.sort
&.asc:after
@@ -273,6 +277,7 @@ thead.-sticky th
flex: 1 1
width: 100%
font-weight: bold
+ @include text-shortener
&.-inactive
color: var(--button--active-font-color)