Skip to content

Commit 5343c44

Browse files
Matt Cotterkangas
authored andcommitted
INT-974 elements default to selectable, add blacklist
(cherry picked from commit 9ade6c3)
1 parent f3988f4 commit 5343c44

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/help/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.page.help
22
div(data-hook='sidebar-subview')
33
.content.with-sidebar
4-
h1(data-hook='help-entry-title')
4+
h1.help-entry-title(data-hook='help-entry-title')
55
.help-entry(data-hook='help-entry-content')

styles/index.less

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,17 @@ html, body {
6262
}
6363
}
6464

65-
// disable highlighting for everything but input and document viewer
6665
* {
66+
user-select: text;
67+
-webkit-user-select: text;
68+
}
69+
// disable highlighting for most of the schema and document viewers
70+
.schema-field-list *, .document-list * {
6771
user-select: none;
6872
-webkit-user-select: none;
6973
}
70-
input, .document-list *, .feature-content * {
74+
// re-enable field names and individual documents
75+
.schema-field-name > span, .document-property-body * {
7176
user-select: text;
7277
-webkit-user-select: text;
7378
}

0 commit comments

Comments
 (0)