Skip to content

Commit

Permalink
Update style for banner message ui (#19069)
Browse files Browse the repository at this point in the history
1.Fixes #19021
2.Fixes #19022

Signed-off-by: AllForNothing <[email protected]>
  • Loading branch information
AllForNothing authored Aug 1, 2023
1 parent 28e6a99 commit b496edf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@
.no-underline {
text-decoration: none;
}

.banner-message {
min-width: 0;
word-break: break-word;
}
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@
}}"
autocomplete="off"
class="clr-textarea"
maxlength="800"
[(ngModel)]="messageText"
[ngModelOptions]="{ standalone: true }"
[disabled]="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ $row-height: 48px;
.no-border {
border: none;
}

.clr-col {
min-width: 0;
}

0 comments on commit b496edf

Please sign in to comment.