Skip to content

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

:art: Refine mobile bottom bar press feedback https://github.com/siyuan-note/siyuan/issues/14542

Daniel20da6c294178
diff --git a/app/src/assets/scss/main/_mobile.scss b/app/src/assets/scss/main/_mobile.scss
index a37ac52266..b804336e68 100644
--- a/app/src/assets/scss/main/_mobile.scss
+++ b/app/src/assets/scss/main/_mobile.scss
@@ -395,7 +395,7 @@ body.mobile-keyboard--open {
z-index: 3;
box-sizing: border-box;
display: flex;
- align-items: flex-start;
+ align-items: center;
width: min(calc(100% - 32px), calc(var(--mobile-bottom-bar-height) * 6));
height: var(--mobile-bottom-bar-height);
margin: 0 auto;
@@ -427,9 +427,20 @@ body.mobile-keyboard--open {
border-radius: var(--b3-border-radius);
color: var(--b3-theme-on-surface-light);
background: transparent;
+ background-clip: content-box;
transition: color 80ms ease, background-color 80ms ease, transform 80ms ease;
-webkit-tap-highlight-color: transparent;
+ &[data-slot="0"] {
+ border-top-left-radius: calc(var(--mobile-bottom-bar-height) / 2);
+ border-bottom-left-radius: calc(var(--mobile-bottom-bar-height) / 2);
+ }
+
+ &[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: 20px;
height: 20px;