From b75fca5a61aae17a37135d443cdb1ef304b01840 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Wed, 17 Apr 2019 12:59:38 -0700 Subject: [PATCH] Make text in collapsible navs unselectable This ensures that quickly opening and closing a nav doesn't accidentally select its text. --- source/assets/css/components/_lists.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/assets/css/components/_lists.scss b/source/assets/css/components/_lists.scss index f5d3011..dd66cc4 100644 --- a/source/assets/css/components/_lists.scss +++ b/source/assets/css/components/_lists.scss @@ -38,6 +38,8 @@ } &--collapsible { + user-select: none; + ul ul a { padding-left: 1rem; } ul ul ul a { padding-left: 2rem; } ul ul ul ul a { padding-left: 3rem; }