Fix message prompt under the header (#18613)

1.Fixes #18601

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
Shijun Sun 2023-04-27 18:03:05 +08:00 committed by GitHub
parent bf6389e6c8
commit 1bbe8c57e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 29 deletions

View File

@ -1,32 +1,4 @@
<clr-main-container>
<!--<div class="clr-row scanner-info" *ngIf="showScannerInfo && isSystemAdmin">
<div class="clr-col-2"></div>
<div class="clr-col text-center">
<clr-icon shape="info-standard" size="20"></clr-icon>
<span class="ml-05"
>{{ 'SCANNER.HELP_INFO_1' | translate }}
<a
rel="noopener noreferrer"
target="_blank"
href="{{ scannerDocUrl }}"
>{{ 'SCANNER.HELP_INFO_2' | translate }}</a
>
</span>
</div>
<div class="clr-col-2 right">
<a
class="all-scanners"
href="#"
routerLink="/harbor/interrogation-services/scanners"
>{{ 'SCANNER.ALL_SCANNERS' | translate }}</a
>
<clr-icon
(click)="closeInfo()"
class="close-icon"
shape="times"
size="24"></clr-icon>
</div>
</div>-->
<app-app-level-alerts></app-app-level-alerts>
<navigator
(showAccountSettingsModal)="openModal($event)"
@ -39,7 +11,7 @@
[class.content-area-override]="!shouldOverrideContent"
[class.start-content-padding]="shouldOverrideContent"
(scroll)="publishScrollEvent()">
<global-message></global-message>
<global-message class="global-msg"></global-message>
<!-- Only appear when searching -->
<search-result></search-result>
<router-outlet></router-outlet>

View File

@ -38,3 +38,11 @@ clr-vertical-nav {
.font-size-13 {
font-size: 13px;
}
.global-msg {
position: absolute;
top: 0;
left: 2rem;
right: 2rem;
z-index: 600;
}