Fix text selection in dark mode and modal view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
backportbot-nextcloud[bot]
parent
25dd71ba04
commit
f3ad2a3709
@@ -226,6 +226,8 @@ export default {
|
|||||||
padding: 0 14px;
|
padding: 0 14px;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
overflow: initial;
|
overflow: initial;
|
||||||
|
user-select: text;
|
||||||
|
-webkit-user-select: text;
|
||||||
|
|
||||||
&::v-deep {
|
&::v-deep {
|
||||||
.app-sidebar-header {
|
.app-sidebar-header {
|
||||||
|
|||||||
@@ -324,6 +324,12 @@ h5 {
|
|||||||
border-left: 1px solid var(--color-main-text);
|
border-left: 1px solid var(--color-main-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.CodeMirror-selected,
|
||||||
|
.CodeMirror-line::selection, .CodeMirror-line>span::selection, .CodeMirror-line>span>span::selection {
|
||||||
|
background: var(--color-primary-element) !important;
|
||||||
|
color: var(--color-primary-text) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-preview,
|
.editor-preview,
|
||||||
.editor-statusbar {
|
.editor-statusbar {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user