1.添加移动端用户的检测工具类,移动端用户只能访问对话页面。
2.评查点列表添加文档属性类型字段。 3.优化dify的对话侧边栏的显示效果。 4.评查点规则添加使用文档属性类型的输入框。添加多实体开关的操作开关。
This commit is contained in:
@@ -144,9 +144,40 @@
|
||||
/* 小手机 - 480px以下 */
|
||||
@media (max-width: 479px) {
|
||||
.ant-layout-sider {
|
||||
width: 100vw !important;
|
||||
min-width: 100vw !important;
|
||||
max-width: 100vw !important;
|
||||
width: 70% !important;
|
||||
min-width: 70% !important;
|
||||
max-width: 70% !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========== 移动端遮罩层样式 ========== */
|
||||
|
||||
/* 侧边栏遮罩层 - 作用域:移动端侧边栏展开时的半透明背景 */
|
||||
.chat-sidebar-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.45);
|
||||
z-index: 999;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* 遮罩层显示状态 */
|
||||
.chat-sidebar-overlay.visible {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* 移动端显示遮罩层 */
|
||||
@media (max-width: 991px) {
|
||||
.chat-sidebar-overlay.visible {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user