mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-17 21:25:43 +02:00
🐛(frontend) remove the stray focus outline on presenter slides
A selected image (or any selected node) leaked its editing outline into the read-only slide. Suppress the selected-node outline so nothing looks focused unless the user tabs or clicks. Closes #2393
This commit is contained in:
+6
@@ -22,6 +22,12 @@ const slideContentCss = css`
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.bn-block-content.ProseMirror-selectednode > *,
|
||||
.ProseMirror-selectednode > .bn-block-content > *,
|
||||
.ProseMirror-selectednode {
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
.bn-block-content[data-content-type='divider'] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user