mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-27 02:25:58 +08:00
支持在 Chat 页面显示,隐藏对话列表
This commit is contained in:
@@ -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; /* 隐藏滚动条(IE、Edge) */
|
||||
|
||||
// 变量定义
|
||||
--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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user