diff --git a/css/style.css b/css/style.css index 772b6c5..bb75113 100644 --- a/css/style.css +++ b/css/style.css @@ -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; diff --git a/index.html b/index.html index 1071d78..7f93eaf 100644 --- a/index.html +++ b/index.html @@ -340,28 +340,23 @@
-
- - - -
-
- + + + + +
+
-
- - -

← 选择一个知识库集合