Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues

Vanessa8b3170fdab2c
diff --git a/app/src/assets/scss/business/_config.scss b/app/src/assets/scss/business/_config.scss
index d0a3c64064..ec32804ae0 100644
--- a/app/src/assets/scss/business/_config.scss
+++ b/app/src/assets/scss/business/_config.scss
@@ -127,15 +127,16 @@
flex: 1;
min-height: 0;
overflow-y: auto;
- margin: 0;
+ margin: 0 -12px 0 0;
+ padding-right: 12px;
list-style: none;
}
.config__tab-title {
display: flex;
align-items: center;
- height: 32px;
- margin-bottom: 8px;
+ height: 21px;
+ margin-bottom: 16px;
}
.b3-list-item {
@@ -143,10 +144,7 @@
margin: 8px;
&__graphic {
- margin-right: 2px;
- padding: 0 8px 0 4px;
- height: 16px;
- width: 16px;
+ padding: 0 6px 0 4px;
}
}
}
diff --git a/app/src/assets/scss/util/_responsive.scss b/app/src/assets/scss/util/_responsive.scss
index 98a77b8c20..f95bc76c8d 100644
--- a/app/src/assets/scss/util/_responsive.scss
+++ b/app/src/assets/scss/util/_responsive.scss
@@ -13,12 +13,8 @@
display: none;
}
- .b3-list-item__graphic {
- padding-right: 5px;
- }
-
- .config__tab-title {
- height: 25px;
+ .b3-list-item {
+ width: 24px;
}
}
}
@@ -58,8 +54,7 @@
& > .b3-button,
& > .b3-tooltips,
& > .b3-form__icona,
- & > .fn__size200,
- .searchByKeyLabel {
+ & > .fn__size200, {
flex: 1 1 100%;
width: 100%;
max-width: 100%;
@@ -112,6 +107,10 @@
text-align: center;
}
}
+
+ &__tab-head .b3-text-field {
+ display: none;
+ }
}
.history {
diff --git a/app/src/config/tabs/keymapUi.ts b/app/src/config/tabs/keymapUi.ts
index 51caa8e1b4..78af73a346 100644
--- a/app/src/config/tabs/keymapUi.ts
+++ b/app/src/config/tabs/keymapUi.ts
@@ -218,7 +218,7 @@ const genKeymapListHtml = () => {
<div class="fn__flex config-wrap">
<input id="keymapInput" class="b3-text-field fn__flex-1" placeholder="${window.siyuan.languages.search}">
<div class="fn__space"></div>
- <label class="b3-form__icon fn__flex-1 searchByKeyLabel">
+ <label class="b3-form__icon fn__flex-1 searchByKeyLabel" style="overflow: visible">
<svg class="b3-form__icon-icon"><use xlink:href="#iconKeymap"></use></svg>
<input id="searchByKey" style="font-family: var(--b3-font-family-kbd);font-variant-emoji: text;" data-keymap="" class="b3-form__icon-input b3-text-field fn__block" spellcheck="false" autocomplete="off" inputmode="none" readonly placeholder="${window.siyuan.languages.keymap}">
</label>