Skip to content

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

:art: Refine mobile navigation interactions https://github.com/siyuan-note/siyuan/issues/14542

Daniel7a930b5351d4
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index de7a8c90ce..9887e89d7f 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -454,6 +454,11 @@ body.mobile-keyboard--open {
&[data-action="more"] {
border-top-right-radius: calc(var(--mobile-bottom-bar-height) / 2);
border-bottom-right-radius: calc(var(--mobile-bottom-bar-height) / 2);
+
+ > svg {
+ width: 18px;
+ height: 18px;
+ }
}
> svg {
@@ -483,13 +488,13 @@ body.mobile-keyboard--open {
display: flex;
align-items: center;
justify-content: center;
- min-width: 19px;
- height: 19px;
+ min-width: 18px;
+ height: 18px;
padding: 0 2px;
- border: 1.5px solid currentColor;
+ border: 1.25px solid currentColor;
border-radius: 4px;
color: var(--b3-theme-on-surface-light);
- font-size: 11px;
+ font-size: 10px;
font-weight: normal;
line-height: 1;
text-align: center;
diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.ts
index 244fda909c..9300b95eb2 100644
--- a/app/src/mobile/dock/MobileFiles.ts
+++ b/app/src/mobile/dock/MobileFiles.ts
@@ -199,7 +199,7 @@ export class MobileFiles extends Model {
} else if (!isFileTreeCollapsing(liElement)) {
this.getLeaf(liElement, notebookId);
}
- this.setCurrent(target.parentElement);
+ this.setCurrent(liElement, false);
window.siyuan.menus.menu.remove();
}
event.preventDefault();