Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/6210

Vanessa95144b59941d
diff --git a/app/src/assets/scss/_wysiwyg.scss b/app/src/assets/scss/_wysiwyg.scss
index f9fa92cf7e..73adf2c18b 100644
--- a/app/src/assets/scss/_wysiwyg.scss
+++ b/app/src/assets/scss/_wysiwyg.scss
@@ -592,3 +592,23 @@
opacity: .86;
}
}
+
+// 触摸屏嵌入块固定显示操作按钮
+@media (hover: none) {
+ .protyle-wysiwyg {
+ &[contenteditable="false"] .render-node[data-type=NodeBlockQueryEmbed] .protyle-action__edit {
+ display: none;
+ }
+
+ [data-node-id].render-node[data-type=NodeBlockQueryEmbed] {
+ .protyle-icons {
+ opacity: .86;
+ top: 8px;
+
+ & + .protyle-wysiwyg__embed > .protyle-breadcrumb__bar {
+ margin-right: 74px;
+ }
+ }
+ }
+ }
+}