From 200a9ab1e32ec88c1a638ccbe06e010855be64ed Mon Sep 17 00:00:00 2001 From: Austin Paquette Date: Wed, 25 Jul 2018 11:32:04 -0600 Subject: [PATCH] add .user-select-none utility class --- modules/primer-utilities/lib/typography.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/primer-utilities/lib/typography.scss b/modules/primer-utilities/lib/typography.scss index 72f3ba9b..2089b885 100644 --- a/modules/primer-utilities/lib/typography.scss +++ b/modules/primer-utilities/lib/typography.scss @@ -219,3 +219,8 @@ .text-mono { font-family: $mono-font; } + +/* Disallow user from selecting text */ +.user-select-none { + user-select: none !important; +} \ No newline at end of file