mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
09b687103e
commit
62a521d19a
2 changed files with 28 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue