mirror of
https://github.com/outline/outline.git
synced 2026-12-03 10:00:13 +03:00
fix: Restore selection outline on non-text block nodes (#14058)
This commit is contained in:
1 parent
dccd9fcfe9
commit
d3e991f977
1 file changed
+9
@@ -1000,6 +1000,15 @@ th .image .image-wrapper img {
|
||||
caret-color: transparent;
|
||||
}
|
||||
|
||||
/* Text blocks selected with the drag handle do not get an outline. */
|
||||
.ProseMirror-selectednode:not(p, h1, h2, h3, h4, h5, h6, ul, ol, li, blockquote, hr) {
|
||||
outline: 2px solid ${props.readOnly ? "transparent" : props.theme.selected};
|
||||
|
||||
@media print {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.ProseMirror.dragging .ProseMirror-selectednode,
|
||||
.ProseMirror .${EditorStyleHelper.draggingSource} {
|
||||
opacity: 0.25;
|
||||
|
||||
Reference in new issue
Block a user