aboutsummaryrefslogtreecommitdiff
path: root/src/components/VencordSettings/settingsStyles.css
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-08 23:28:12 +0200
committerVendicated <vendicated@riseup.net>2023-04-08 23:28:12 +0200
commit840da146b968b4db7616f5528f1a2b0d24e9517a (patch)
treecd65c715e4cf81981cf08d510ba0d4f88fd4db95 /src/components/VencordSettings/settingsStyles.css
parentacc874c34fac42422fcaedb2345f56d1e2d5bd74 (diff)
downloadVencord-840da146b968b4db7616f5528f1a2b0d24e9517a.tar.gz
Vencord-840da146b968b4db7616f5528f1a2b0d24e9517a.tar.bz2
Vencord-840da146b968b4db7616f5528f1a2b0d24e9517a.zip
UX: Make possibly copy-relevant text in settings copyable
Diffstat (limited to 'src/components/VencordSettings/settingsStyles.css')
-rw-r--r--src/components/VencordSettings/settingsStyles.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/VencordSettings/settingsStyles.css b/src/components/VencordSettings/settingsStyles.css
index ebc112c..971e9a8 100644
--- a/src/components/VencordSettings/settingsStyles.css
+++ b/src/components/VencordSettings/settingsStyles.css
@@ -57,3 +57,12 @@
color: var(--white-500);
background-color: var(--button-danger-background);
}
+
+.vc-text-selectable,
+.vc-text-selectable :not(a, button) {
+ /* make text selectable, silly discord makes the entirety of settings not selectable */
+ user-select: text;
+
+ /* discord also sets cursor: default which prevents the cursor from showing as text */
+ cursor: initial;
+}