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

[41822] Add no-ellipsis for long text CFs in project list (#10442)

Oliver Günther265ee0147f95
diff --git a/app/cells/projects/row_cell.rb b/app/cells/projects/row_cell.rb
index b7c4c35ea31..243b48fcdeb 100644
--- a/app/cells/projects/row_cell.rb
+++ b/app/cells/projects/row_cell.rb
@@ -134,7 +134,8 @@ module Projects
"-no-ellipsis"
when /\Acf_/
cf = custom_field(column)
- "format-#{cf.field_format}"
+ formattable = cf.field_format == 'text' ? ' -no-ellipsis' : ''
+ "format-#{cf.field_format}#{formattable}"
end
end
end
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index fc3e747eaee..703500a440d 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -216,10 +216,6 @@ table.generic-table
&.-no-highlighting
background-color: $body-background
- .op-uc-p
- @include text-shortener
-
-
// Enable sticky headers
thead.-sticky th
position: sticky