Merge pull request #3767 from nextcloud/backport/3761/stable22
[stable22] Fix text selection in dark mode and modal view
This commit is contained in:
@@ -205,6 +205,8 @@ export default {
|
|||||||
max-width: calc(100% - #{$modal-padding*2});
|
max-width: calc(100% - #{$modal-padding*2});
|
||||||
padding: 0 14px;
|
padding: 0 14px;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
user-select: text;
|
||||||
|
-webkit-user-select: text;
|
||||||
&::v-deep {
|
&::v-deep {
|
||||||
.app-sidebar-header {
|
.app-sidebar-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|||||||
@@ -315,6 +315,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