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 table header widths exceeding the td's 300px max width

Oliver Günther8fae2d142733
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index d378dce06fc..47c11053ff8 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -262,10 +262,11 @@ thead.-sticky th
.generic-table--header,
.generic-table--sort-header
- white-space: nowrap
+ @include text-shortener
width: 100%
clear: both
min-width: 40px
+ max-width: 300px
display: flex
& > a