Skip to content

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

:art: Hide header image button in read-only mode of the editor (#15205)

Jeffrey Chend507dffb13ba
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index e38f520548..b7ebef171a 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -265,10 +265,13 @@
}
.protyle-top:hover .protyle-background--enable {
- .protyle-background__action,
- .protyle-background__img .protyle-icons {
+ .protyle-background__action {
opacity: .86;
}
+
+ .protyle-background__img .protyle-icons {
+ display: flex;
+ }
}
.protyle-background {
@@ -332,6 +335,7 @@
}
.protyle-icons {
+ display: none;
position: absolute;
top: 8px;
right: 8px;