mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
Update style for banner message ui (#19069)
1.Fixes #19021 2.Fixes #19022 Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
28e6a99eb9
commit
b496edf304
@ -1,11 +1,13 @@
|
||||
<clr-alerts>
|
||||
<clr-alert
|
||||
*ngIf="hasValidBannerMessage() && isLogin()"
|
||||
*ngIf="hasValidBannerMessage()"
|
||||
[clrAlertType]="getBannerMessageType()"
|
||||
[clrAlertAppLevel]="true"
|
||||
[clrAlertClosable]="getBannerMessageClosable()">
|
||||
<clr-alert-item>
|
||||
<span class="alert-text">{{ getBannerMessage() }}</span>
|
||||
<span class="alert-text banner-message">{{
|
||||
getBannerMessage()
|
||||
}}</span>
|
||||
</clr-alert-item>
|
||||
</clr-alert>
|
||||
<clr-alert
|
||||
|
@ -14,3 +14,8 @@
|
||||
.no-underline {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.banner-message {
|
||||
min-width: 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
@ -359,6 +359,7 @@
|
||||
}}"
|
||||
autocomplete="off"
|
||||
class="clr-textarea"
|
||||
maxlength="800"
|
||||
[(ngModel)]="messageText"
|
||||
[ngModelOptions]="{ standalone: true }"
|
||||
[disabled]="
|
||||
|
@ -94,3 +94,7 @@ $row-height: 48px;
|
||||
.no-border {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.clr-col {
|
||||
min-width: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user