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

http://community.openproject.com/wp/41822
pull/10469/head
Oliver Günther 3 years ago committed by GitHub
parent c94eb6cef3
commit 265ee0147f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/cells/projects/row_cell.rb
  2. 4
      frontend/src/global_styles/content/_table.sass

@ -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

@ -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

Loading…
Cancel
Save