mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
Exclude empty diagrams from zoom cursor and selection outline
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com>
This commit is contained in:
@@ -1774,7 +1774,7 @@ mark {
|
||||
&.ProseMirror-selectednode {
|
||||
outline: none;
|
||||
|
||||
& + .mermaid-diagram-wrapper {
|
||||
& + .mermaid-diagram-wrapper:not(.empty) {
|
||||
cursor: zoom-in;
|
||||
outline: 2px solid ${props.theme.selected};
|
||||
}
|
||||
@@ -1786,7 +1786,7 @@ mark {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
& + .mermaid-diagram-wrapper {
|
||||
& + .mermaid-diagram-wrapper:not(.empty) {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user