Vanessa 2024-05-19 11:26:55 +08:00
parent 0dd627fe52
commit 84da3069fc

View file

@ -326,10 +326,6 @@
height: 100%;
}
&:hover .protyle-action__drag {
display: inline-block;
}
.protyle-action__drag {
height: 30%;
width: 4px;
@ -382,10 +378,6 @@
}
}
& > [contenteditable="false"] > .img:hover .protyle-action__drag {
display: none;
}
&.iframe {
// https://ld246.com/article/1644827326901
// https://github.com/siyuan-note/siyuan/issues/4172
@ -410,10 +402,6 @@
}
}
&:hover .protyle-action__drag {
display: inline-block;
}
.protyle-action__drag {
height: 32px;
width: 4px;
@ -595,12 +583,16 @@
}
}
// 在思源中不论只读模式还是预览点击图片都可以进行预览
.protyle .img > span:nth-child(2) {
cursor: pointer;
}
// 导出 html 不需要编辑样式
.protyle-wysiwyg[data-readonly="false"] {
span[data-type~="inline-math"],
span[data-type~="tag"],
.protyle-action__language,
.img > span:nth-child(2),
.render-node {
cursor: pointer;
}
@ -609,6 +601,12 @@
background-color: var(--b3-theme-surface-lighter);
}
.img:hover .protyle-action__drag,
.iframe:hover .protyle-action__drag {
display: inline-block;
}
.code-block .protyle-action {
-webkit-user-modify: read-only;
@ -671,6 +669,15 @@
background-color: transparent;
}
.av__cell {
cursor: inherit;
&text--url,
&assetimg {
cursor: pointer;
}
}
.av__cell[data-block-id] > .block__icon[data-type="copy"] {
display: block;
}