mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 12:35:03 +01:00
Make text in collapsible navs unselectable
This ensures that quickly opening and closing a nav doesn't accidentally select its text.
This commit is contained in:
parent
9f9bcb257b
commit
b75fca5a61
@ -38,6 +38,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--collapsible {
|
&--collapsible {
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
ul ul a { padding-left: 1rem; }
|
ul ul a { padding-left: 1rem; }
|
||||||
ul ul ul a { padding-left: 2rem; }
|
ul ul ul a { padding-left: 2rem; }
|
||||||
ul ul ul ul a { padding-left: 3rem; }
|
ul ul ul ul a { padding-left: 3rem; }
|
||||||
|
Loading…
Reference in New Issue
Block a user