fix: 嵌入模型下拉收窄并与工具栏同行
This commit is contained in:
+18
-22
@@ -1885,19 +1885,31 @@ body::before {
|
||||
.kb-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.kb-toolbar-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
.kb-embed-select {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
max-width: 200px;
|
||||
padding: 5px 8px;
|
||||
font-size: 12px;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-primary);
|
||||
border: 1px solid var(--border-glass);
|
||||
border-radius: 6px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.kb-toolbar-right {
|
||||
.kb-embed-select:focus {
|
||||
border-color: var(--accent-cyan);
|
||||
}
|
||||
.kb-rag-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-left: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -1923,22 +1935,6 @@ body::before {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.kb-embed-model {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.kb-embed-model .setting-label {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.kb-embed-model .model-select {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 5px 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.kb-doc-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user