Merge pull request #5099 from opf/fix/interactive_table_header_width

fix having the column spacer play a role in the column width calculation
pull/5102/head
Oliver Günther 8 years ago committed by GitHub
commit c1b2044e0b
  1. 2
      app/assets/stylesheets/content/_table.sass
  2. 2
      frontend/app/components/common/interactive-table/interactive-table.directive.ts

@ -203,10 +203,10 @@ table.generic-table
background: #f8f8f8 background: #f8f8f8
.generic-table--column-spacer .generic-table--column-spacer
white-space: nowrap
padding: 0 6px padding: 0 6px
visibility: hidden visibility: hidden
height: 0px height: 0px
font-size: 0px
line-height: 0px line-height: 0px
.generic-table--sort-header .generic-table--sort-header

@ -109,7 +109,7 @@ export class interactiveTableController {
private cloneSpacer() { private cloneSpacer() {
this.getHeadersFooters().each((i, el) => { this.getHeadersFooters().each((i, el) => {
var element = angular.element(this); var element = angular.element(el);
var html = element.text(); var html = element.text();
var hiddenForSighted = element.find('.hidden-for-sighted').text(); var hiddenForSighted = element.find('.hidden-for-sighted').text();

Loading…
Cancel
Save