Skip to content

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

:bug: Keep document boundary buttons visible https://github.com/siyuan-note/siyuan/issues/20563

Danielee557edd59f6
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index 5ee62dde1b..d90297ce12 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -66,7 +66,6 @@
&__up {
transition: var(--b3-transition);
position: absolute;
- opacity: 0;
cursor: pointer;
color: var(--b3-border-color);
@@ -83,13 +82,6 @@
bottom: calc(50% - var(--b3-dynamicscroll-width) / 2 - 20px);
}
- &:hover {
- .protyle-scroll__down,
- .protyle-scroll__up {
- opacity: 1;
- }
- }
-
&__bar {
position: absolute;
right: calc(4px - var(--b3-dynamicscroll-width) / 2);
@@ -116,11 +108,6 @@
}
@media (hover: none) {
- &__down,
- &__up {
- opacity: 1;
- }
-
&__bar {
top: calc(50% - 22px);