From 092bb007d51d9adc3ec04e18a0437dabff90fcce Mon Sep 17 00:00:00 2001 From: Michael Hartung <michi@Michaels-MacBook-Pro.local> Date: Mon, 26 Jul 2021 17:20:16 +0200 Subject: [PATCH] selection table styling --- src/app/pages/explorer-page/explorer-page.component.html | 4 +--- src/app/pages/explorer-page/explorer-page.component.scss | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/pages/explorer-page/explorer-page.component.html b/src/app/pages/explorer-page/explorer-page.component.html index ef8e2b09..b27a8d76 100644 --- a/src/app/pages/explorer-page/explorer-page.component.html +++ b/src/app/pages/explorer-page/explorer-page.component.html @@ -441,14 +441,12 @@ <table class="table selection-table" *ngIf="analysis.getCount() > 0"> <thead> <tr> - <td>Type</td> - <td>Name</td> + <td>Label</td> <td>Actions</td> </tr> </thead> <tbody> <tr *ngFor="let p of analysis.getSelection()"> - <td><p class="is-capitalized">{{p.data.type}}</p></td> <td><p class="is-capitalized">{{p.data.label}}</p></td> <td> <button (click)="analysis.removeItems([p])" class="button is-small is-danger is-outlined has-tooltip" diff --git a/src/app/pages/explorer-page/explorer-page.component.scss b/src/app/pages/explorer-page/explorer-page.component.scss index ee75dcc8..22f3b24b 100644 --- a/src/app/pages/explorer-page/explorer-page.component.scss +++ b/src/app/pages/explorer-page/explorer-page.component.scss @@ -66,3 +66,7 @@ overflow-x: auto; } +.selection-table { + width: 100%; +} + -- GitLab