mirror of
https://github.com/outline/outline.git
synced 2026-11-27 16:08:58 +03:00
fix: Copy Mermaid toolbar incorrectly positioned in read-only
closes #5714
This commit is contained in:
1 parent
89bf5373aa
commit
3366fb46cd
1 file changed
+8
-2
@@ -1074,13 +1074,19 @@ mark {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Hide code without display none so toolbar can still be positioned against it */
|
||||
&:not(.code-active) {
|
||||
display: none;
|
||||
height: 0;
|
||||
margin: -0.5em 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide code without display none so toolbar can still be positioned against it */
|
||||
.ProseMirror[contenteditable="false"] .code-block[data-language=mermaidjs] {
|
||||
display: none;
|
||||
height: 0;
|
||||
margin: -0.5em 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.code-block.with-line-numbers {
|
||||
|
||||
Reference in new issue
Block a user