From ea9aa385734acce8aedabd70d83ff30c47fa945d Mon Sep 17 00:00:00 2001
From: Zhangyuan Nie <yuan@znie.org>
Date: Tue, 20 Oct 2020 01:08:43 -0400
Subject: [PATCH] header: disable user-select for theme-toggle (#52)

* fix: clicking twice on theme switch selects other text on the nav-bar.
---
 assets/css/header.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/assets/css/header.css b/assets/css/header.css
index ef68ef48..72b5f6aa 100644
--- a/assets/css/header.css
+++ b/assets/css/header.css
@@ -34,9 +34,10 @@
     margin-inline-end: 8px;
 }
 
-.theme-toggle svg{
+.theme-toggle svg {
     height: 18px;
     margin: 0 10px;
+    user-select: none;
 }
 
 body.dark #moon{