mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +01:00
Merge pull request #5389 from zhoumeina/notification_ui_refine
Notification should not hide content according to ux
This commit is contained in:
commit
e597910c6f
@ -1,4 +1,4 @@
|
|||||||
<div [class.global-message-alert]="!isAppLevel">
|
<div [class.alert-app-level]="!isAppLevel">
|
||||||
<clr-alert [clrAlertType]="globalMessage.type" [clrAlertAppLevel]="isAppLevel" [(clrAlertClosed)]="!globalMessageOpened" (clrAlertClosedChange)="onClose()">
|
<clr-alert [clrAlertType]="globalMessage.type" [clrAlertAppLevel]="isAppLevel" [(clrAlertClosed)]="!globalMessageOpened" (clrAlertClosedChange)="onClose()">
|
||||||
<div class="alert-item">
|
<div class="alert-item">
|
||||||
<span class="alert-text">{{message}}</span>
|
<span class="alert-text">{{message}}</span>
|
||||||
|
@ -1,16 +1,3 @@
|
|||||||
.global-message-alert {
|
.alert-app-level {
|
||||||
position: relative;
|
margin-bottom:20px;
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
z-index: 999;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
.alert-item {
|
|
||||||
display: inline-block;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
:host >>> .alert-icon-wrapper{
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
:host >>> .alert.alert-app-level.alert-warning{padding: 0;}
|
|
Loading…
Reference in New Issue
Block a user