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/pull/15205 不能这样修复,否则移动端无法点击

Vanessa64a031bd6c25
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index b7ebef171a..3f8681dda5 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -265,18 +265,19 @@
}
.protyle-top:hover .protyle-background--enable {
- .protyle-background__action {
- opacity: .86;
- }
-
+ .protyle-background__action,
.protyle-background__img .protyle-icons {
- display: flex;
+ opacity: .86;
}
}
.protyle-background {
position: relative;
+ &:not(.protyle-background--enable) .protyle-background__img .protyle-icons {
+ display: none;
+ }
+
&--enable {
.protyle-background__img:hover .protyle-icons,
.protyle-background__icon:hover {
@@ -335,7 +336,6 @@
}
.protyle-icons {
- display: none;
position: absolute;
top: 8px;
right: 8px;