Merge pull request #7669 from opf/feature/fixed_width_for_grid_columns

have a fixed width for grid columns

[ci skip]
pull/7675/head
Oliver Günther 5 years ago committed by GitHub
commit 0ed90b327c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/app/modules/grids/grid/grid.component.ts

@ -92,7 +92,7 @@ export class GridComponent implements OnDestroy, OnInit {
public get gridColumnStyle() {
let style = '';
for (let i = 0; i < this.layout.numColumns; i++) {
style += '20px 1fr ';
style += `20px calc((100% - 20px * ${this.layout.numColumns + 1}) / ${this.layout.numColumns}) `;
}
style += '20px';

Loading…
Cancel
Save