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:
Shijun Sun 2023-08-01 17:24:28 +08:00 committed by GitHub
parent 28e6a99eb9
commit b496edf304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -14,3 +14,8 @@
.no-underline {
text-decoration: none;
}
.banner-message {
min-width: 0;
word-break: break-word;
}

View File

@ -359,6 +359,7 @@
}}"
autocomplete="off"
class="clr-textarea"
maxlength="800"
[(ngModel)]="messageText"
[ngModelOptions]="{ standalone: true }"
[disabled]="

View File

@ -94,3 +94,7 @@ $row-height: 48px;
.no-border {
border: none;
}
.clr-col {
min-width: 0;
}