diff options
| author | Zhangyuan Nie <yuan@znie.org> | 2020-10-20 01:08:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 10:38:43 +0530 |
| commit | ea9aa385734acce8aedabd70d83ff30c47fa945d (patch) | |
| tree | 704806bb1754cfb24897a706f9a345195e0f2dbc | |
| parent | c0ba1ce20dfe9823fff3a4b86e0b04fe8ebb0287 (diff) | |
header: disable user-select for theme-toggle (#52)
* fix: clicking twice on theme switch selects other text on the nav-bar.
| -rw-r--r-- | assets/css/header.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/css/header.css b/assets/css/header.css index ef68ef4..72b5f6a 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{ |
