mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
hide focus on readonly mode
This commit is contained in:
@@ -133,10 +133,18 @@
|
|||||||
border-top: 1px solid #68cef8;
|
border-top: 1px solid #68cef8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[contenteditable="false"] hr.ProseMirror-selectednode {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
.ProseMirror-selectednode {
|
.ProseMirror-selectednode {
|
||||||
outline: 2px solid #70cff8;
|
outline: 2px solid #70cff8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[contenteditable="false"] .ProseMirror-selectednode {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
& > .react-renderer {
|
& > .react-renderer {
|
||||||
margin-top: var(--mantine-spacing-sm);
|
margin-top: var(--mantine-spacing-sm);
|
||||||
margin-bottom: var(--mantine-spacing-sm);
|
margin-bottom: var(--mantine-spacing-sm);
|
||||||
|
|||||||
Reference in New Issue
Block a user