mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +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()">
|
||||
<div class="alert-item">
|
||||
<span class="alert-text">{{message}}</span>
|
||||
|
@ -1,16 +1,3 @@
|
||||
.global-message-alert {
|
||||
position: relative;
|
||||
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;}
|
||||
.alert-app-level {
|
||||
margin-bottom:20px;
|
||||
}
|
Loading…
Reference in New Issue
Block a user