This commit is contained in:
Vanessa 2022-10-17 11:04:14 +08:00
parent 82ffe82c81
commit 95144b5994

View file

@ -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;
}
}
}
}
}