style:调整dify内嵌侧边栏、召回测试、预览块样式
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
.dataset-manager-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
height:90%;
|
||||
max-height: 100%;
|
||||
background: #fff;
|
||||
overflow: hidden;
|
||||
@@ -26,13 +26,14 @@
|
||||
|
||||
/* 左侧侧边栏 */
|
||||
.dataset-sidebar {
|
||||
width: 200px;
|
||||
min-width: 200px;
|
||||
width: 26vh;
|
||||
min-width: 11vh;
|
||||
background: #fafafa;
|
||||
border-right: 1px solid #f0f0f0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
max-height: 90vh;
|
||||
}
|
||||
|
||||
/* 返回按钮 */
|
||||
@@ -229,6 +230,7 @@
|
||||
/* 右侧主内容区 */
|
||||
.dataset-main {
|
||||
flex: 1;
|
||||
height: 85vh;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -735,6 +737,7 @@
|
||||
|
||||
/* 右侧预览面板 */
|
||||
.preview-panel {
|
||||
height: 85vh;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
background: #f5f5f5;
|
||||
@@ -852,6 +855,11 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
/* 关键修复:添加高度约束和内部滚动 */
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.segment-item {
|
||||
|
||||
Reference in New Issue
Block a user