Skip to content

Commit 4f5e0b0

Browse files
r-farkhutdinovRuslan FarkhutdinovCopilot
authored
Chat: Fix empty-view icon background color in Fluent and its container position (#33423)
Co-authored-by: Ruslan Farkhutdinov <ruslan.farkhutdinov@devexpress.com> Co-authored-by: Copilot <copilot@github.com>
1 parent cc44e6c commit 4f5e0b0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/devextreme-scss/scss/widgets/base/chat/layout/chat-messagelist/_index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
}
4848

4949
.dx-chat-messagelist-empty {
50+
display: flex;
51+
flex-direction: column;
52+
justify-content: center;
53+
5054
.dx-scrollview-content {
5155
display: flex;
5256
height: 100%;

packages/devextreme-scss/scss/widgets/fluent/chat/_colors.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ $chat-suggestions-box-shadow: null !default;
139139

140140
$chat-messagelist-day-header-color: color.adjust($base-bg, $lightness: -56.08%, $space: hsl) !default;
141141
$chat-messagelist-empty-icon-color: color.adjust($base-icon-color, $lightness: 32.16%, $space: hsl) !default;
142-
$chat-messagelist-empty-icon-background-color: color.adjust($base-bg, $lightness: 3.92%, $space: hsl) !default;
142+
$chat-messagelist-empty-icon-background-color: color.adjust($base-bg, $lightness: -3.92%, $space: hsl) !default;
143143
$chat-messagelist-empty-prompt-color: color.adjust($base-label-color, $lightness: -5.88%, $space: hsl) !default;
144144

145145
$chat-typingindicator-circle-bg-color: color.adjust($base-bg, $lightness: -29.16%, $space: hsl) !default;

0 commit comments

Comments
 (0)