From 99f3cd1cd514934c80a19ad29838f84006653892 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Tue, 20 Oct 2020 09:39:28 +0200 Subject: [PATCH] chore: remove mat-list dom node --- .../nehubaContainer.template.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/ui/nehubaContainer/nehubaContainer.template.html b/src/ui/nehubaContainer/nehubaContainer.template.html index 95aba2b2c..73a41b608 100644 --- a/src/ui/nehubaContainer/nehubaContainer.template.html +++ b/src/ui/nehubaContainer/nehubaContainer.template.html @@ -340,16 +340,15 @@ <ng-container *ngIf="iavRegion.regionInOtherTemplates$ | async as regionInOtherTemplates"> <ng-template #exploreInOtherTmpl> - <mat-list class="action-list sm cursor-default"> - <mat-card class="p-0 border-0 box-shadow-none mt-1 tb-1" *ngFor="let sameRegion of regionInOtherTemplates" - (click)="iavRegion.changeView(sameRegion)" - [matTooltip]="sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '')" - mat-ripple> - <small> - {{ sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '') }} - </small> - </mat-card> - </mat-list> + <mat-card *ngFor="let sameRegion of regionInOtherTemplates" + class="p-0 border-0 box-shadow-none mt-1 tb-1 cursor-default" + (click)="iavRegion.changeView(sameRegion)" + [matTooltip]="sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '')" + mat-ripple> + <small> + {{ sameRegion.template.name + (sameRegion.hemisphere ? (' - ' + sameRegion.hemisphere) : '') }} + </small> + </mat-card> </ng-template> <ng-container *ngTemplateOutlet="ngMatAccordionTmpl; context: { -- GitLab