TH style cleanup
authorStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 22 Mar 2023 16:17:25 +0000 (16:17 +0000)
committerStephanie Leary <stephanie.leary@equinoxoli.org>
Wed, 22 Mar 2023 16:17:25 +0000 (16:17 +0000)
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Open-ILS/src/eg2/src/app/share/grid/grid-header.component.html

index a711f53..120386f 100644 (file)
@@ -16,7 +16,7 @@
     class="eg-grid-cell eg-grid-header-cell eg-grid-flair-cell">
     <span class="material-icons">notifications</span>
   </th>
-  <th *ngFor="let col of context.columnSet.displayColumns(); index as i"
+  <th *ngFor="let col of context.columnSet.displayColumns()"
     scope="col" role="columnheader"
     draggable="true"
     (dragstart)="dragColumn = col"
@@ -24,7 +24,6 @@
     (dragover)="onColumnDragEnter($event, col)"
     (dragleave)="onColumnDragLeave($event, col)"
     [ngClass]="{'dragover' : col.isDragTarget}"
-    style="width: calc(1% * var(--c{{i}}))"
     [attr.aria-sort]="ariaSortDirection(col)"
     class="eg-grid-cell eg-grid-header-cell {{context.setClassNames(row, col)}}">
     <a class="sortable label-with-material-icon" *ngIf="col.isSortable"