mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Disabled text highlighting unless in an input field
This commit is contained in:
1 parent
d18db9566c
commit
efdd0f6203
1 file changed
+11
@@ -35,6 +35,17 @@ body {
|
||||
'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
||||
font-feature-settings: 'tnum' 1; /* tabular numbers for BPM columns */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* An app, not a document: clicks and drags must not paint a text selection.
|
||||
Only fields the user types into can select. */
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
[contenteditable='true'] {
|
||||
-webkit-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
/* Thin, dark scrollbars that fit the deck aesthetic. */
|
||||
|
||||
Reference in new issue
Block a user