From 1fe3fc46b34676a0b4835952164370e7db303ff0 Mon Sep 17 00:00:00 2001 From: "Hartung, Michael" <michael.hartung@uni-hamburg.de> Date: Fri, 21 Oct 2022 11:34:01 +0200 Subject: [PATCH] move close analysis icon in analysis tab to very right --- .../analysis-panel.component.html | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/app/components/analysis-panel/analysis-panel.component.html b/src/app/components/analysis-panel/analysis-panel.component.html index 7d433bfb..6d6245ab 100644 --- a/src/app/components/analysis-panel/analysis-panel.component.html +++ b/src/app/components/analysis-panel/analysis-panel.component.html @@ -1,5 +1,5 @@ <div *ngIf="token"> - <div class="card analysis" [ngClass]="{'fullscreen': fullscreen}"> + <div class="card analysis" [ngClass]="{ fullscreen: fullscreen }"> <header class="card-header"> <p class="card-header-title"> <span class="icon"> @@ -21,19 +21,6 @@ </span> </a> - <a - (click)="close()" - class="card-header-icon" - aria-label="close" - pTooltip="Close analysis" - [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'" - tooltipPosition="left" - > - <span class="icon" title="Close analysis"> - <i class="fas fa-times color-danger" aria-hidden="true"></i> - </span> - </a> - <a pTooltip="Open in fullscreen" [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'" @@ -47,7 +34,9 @@ </span> </a> <a - title="close fullscreen" + pTooltip="Close fullscreen" + [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'" + tooltipPosition="left" *ngIf="fullscreen" (click)="toggleFullscreen()" class="card-header-icon" @@ -56,6 +45,19 @@ <i class="fas fa-compress"></i> </span> </a> + + <a + (click)="close()" + class="card-header-icon" + aria-label="close" + pTooltip="Close analysis" + [tooltipStyleClass]="'drgstn drgstn-tooltip drgstn-tooltip-left'" + tooltipPosition="left" + > + <span class="icon" title="Close analysis"> + <i class="fas fa-times color-danger" aria-hidden="true"></i> + </span> + </a> </header> <div class="card-content tab-header-small" -- GitLab