Merge pull request #6758 from opf/fix/28680-Optimize-WP-table-widths

[28680] Optimize column-width
pull/6761/head
ulferts 6 years ago committed by GitHub
commit 202275daa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/assets/stylesheets/content/_table.sass
  2. 4
      frontend/src/app/components/wp-fast-table/builders/cell-builder.ts

@ -173,7 +173,7 @@ table.generic-table
// become even wider.
&.-max
width: 100%
max-width: 600px
max-width: 500px
&.info
a

@ -19,6 +19,10 @@ export class CellBuilder {
const td = document.createElement('td');
td.classList.add(tdClassName, wpCellTdClassName, attribute);
if (attribute === 'subject') {
td.classList.add('-max');
}
const container = document.createElement('span');
container.classList.add(editCellContainer, editFieldContainerClass, attribute);
const displayElement = this.fieldRenderer.render(workPackage, attribute, null);

Loading…
Cancel
Save