This commit is contained in:
Vanessa 2022-10-21 23:17:06 +08:00
parent 09b687103e
commit 62a521d19a
2 changed files with 28 additions and 21 deletions

View file

@ -440,5 +440,32 @@
position: relative;
transition: var(--b3-transition);
}
}
// 触摸屏嵌入块固定显示操作按钮
@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;
}
}
}
}
.protyle-background--enable {
.protyle-background__iconw > .protyle-icons,
.protyle-background__img .protyle-icons,
.protyle-background__tags .item svg {
opacity: .86;
}
}
}

View file

@ -592,23 +592,3 @@
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;
}
}
}
}
}