fix: standardize border styles across components

- Updated border styles in multiple components to use a consistent thickness of 0.5px instead of 1px, enhancing visual uniformity.
- Adjusted styles in components such as AgentSelector, Input-field, KnowledgeBaseSelector, and others to improve overall UI consistency.
- Refined CSS variables for borders to ensure maintainability and adherence to design specifications.

These changes improve the aesthetic coherence of the application, providing a more polished user interface.
This commit is contained in:
wizardchen
2026-03-05 16:18:05 +08:00
committed by lyingbug
parent b697d4945e
commit 371002e085
13 changed files with 109 additions and 48 deletions
@@ -366,7 +366,7 @@ watch(() => props.visible, async (v) => {
.kb-dropdown {
position: fixed !important;
background: var(--td-bg-color-container);
border: 1px solid var(--td-component-border);
border: .5px solid var(--td-component-border);
border-radius: 10px;
box-shadow: var(--td-shadow-2);
overflow: hidden;
@@ -382,13 +382,13 @@ watch(() => props.visible, async (v) => {
/* 宽度由 JS 控制(dropdownWidth),这里只做内部样式 */
.kb-search {
padding: 8px 10px;
border-bottom: 1px solid var(--td-component-stroke);
border-bottom: .5px solid var(--td-component-stroke);
}
.kb-search-input {
width: 100%;
padding: 6px 10px;
font-size: 12px;
border: 1px solid var(--td-component-stroke);
border: .5px solid var(--td-component-stroke);
border-radius: 6px;
background: var(--td-bg-color-secondarycontainer);
outline: none;