支持在 Chat 页面显示,隐藏对话列表

This commit is contained in:
RockYang
2025-01-06 19:17:18 +08:00
parent cffc722622
commit 7da5b7163c
27 changed files with 404 additions and 393 deletions

View File

@@ -30,14 +30,6 @@
margin-bottom: 10px
}
//
::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
.content {
width: 100%
overflow-y: scroll
@@ -130,9 +122,9 @@
.chat-container {
min-width: 0;
flex: 1;
background-color: var(--el-bg-color)
background-color: var(--chat-bg)
color var(--text-fb)
.chat-config {
height 50px
padding 10px 30px
@@ -186,54 +178,33 @@
width: 100%;
position relative
background: var(--chat-bg)
::-webkit-scrollbar {
width: 12px /* */
background #F1F1F1
}
::-webkit-scrollbar-track {
background-color: #e1e1e1;
}
::-webkit-scrollbar-thumb {
background-color: #c1c1c1;
border-radius 12px
}
::-webkit-scrollbar-thumb:hover {
background-color: #A8A8A8;
}
display: flex;
justify-content: center;
padding 0 20px
max-width: 960px;
.chat-box {
overflow-y: auto;
//border-bottom: 1px solid #4f4f4f
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IEEdge */
//
--content-font-size: 16px;
--content-color: #c1c1c1;
font-family: 'Microsoft YaHei', '', Arial, sans-serif;
padding: 0 0 50px 0;
//padding: 0 0 50px 0;
width: 100%;
.chat-line {
font-size: 14px;
display: flex;
align-items: flex-start;
}
::-webkit-scrollbar {
display: none; /* Webkit */
}
}
.input-box {
position absolute
bottom 0
width 100%
max-width: 800px;
.input-box-inner {
display flex
@@ -363,11 +334,6 @@
}
}
#container::-webkit-scrollbar {
width: 0;
height: 0;
}
}
}
}