Skip to content

Commit fb98259

Browse files
feat: chat
1 parent d40294d commit fb98259

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ui/src/styles/app.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,3 +529,9 @@ h5 {
529529
.custom-header {
530530
background: var(--el-color-primary-light-9) !important;
531531
}
532+
533+
.chat-background {
534+
background-repeat: no-repeat;
535+
background-position: center;
536+
background-size: auto 100%;
537+
}

ui/src/views/chat/pc/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@
222222
</el-button>
223223
</div>
224224
<div
225-
class="chat-pc__right"
226-
:style="{ backgroundImage: `url(${applicationDetail?.custom_theme?.chat_background})` }"
225+
class="chat-pc__right chat-background"
226+
:style="{ backgroundImage: `url(${applicationDetail?.chat_background})` }"
227227
>
228228
<el-splitter>
229229
<el-splitter-panel>

0 commit comments

Comments
 (0)