mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02: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-alerts>
|
||||||
<clr-alert
|
<clr-alert
|
||||||
*ngIf="hasValidBannerMessage() && isLogin()"
|
*ngIf="hasValidBannerMessage()"
|
||||||
[clrAlertType]="getBannerMessageType()"
|
[clrAlertType]="getBannerMessageType()"
|
||||||
[clrAlertAppLevel]="true"
|
[clrAlertAppLevel]="true"
|
||||||
[clrAlertClosable]="getBannerMessageClosable()">
|
[clrAlertClosable]="getBannerMessageClosable()">
|
||||||
<clr-alert-item>
|
<clr-alert-item>
|
||||||
<span class="alert-text">{{ getBannerMessage() }}</span>
|
<span class="alert-text banner-message">{{
|
||||||
|
getBannerMessage()
|
||||||
|
}}</span>
|
||||||
</clr-alert-item>
|
</clr-alert-item>
|
||||||
</clr-alert>
|
</clr-alert>
|
||||||
<clr-alert
|
<clr-alert
|
||||||
|
@ -14,3 +14,8 @@
|
|||||||
.no-underline {
|
.no-underline {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.banner-message {
|
||||||
|
min-width: 0;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
@ -359,6 +359,7 @@
|
|||||||
}}"
|
}}"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
class="clr-textarea"
|
class="clr-textarea"
|
||||||
|
maxlength="800"
|
||||||
[(ngModel)]="messageText"
|
[(ngModel)]="messageText"
|
||||||
[ngModelOptions]="{ standalone: true }"
|
[ngModelOptions]="{ standalone: true }"
|
||||||
[disabled]="
|
[disabled]="
|
||||||
|
@ -94,3 +94,7 @@ $row-height: 48px;
|
|||||||
.no-border {
|
.no-border {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.clr-col {
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user