From 1169c17518b4ecda92fb06a8495f2c046629eb3f Mon Sep 17 00:00:00 2001 From: Arnaldo Gabriel Date: Mon, 12 Aug 2019 20:39:01 -0400 Subject: [PATCH 1/2] Added rule to ignore .vscode --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b512c09d4..55371e5c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.vscode \ No newline at end of file From 19fc94cd8fc79fd601fb66abe33516e1677dded2 Mon Sep 17 00:00:00 2001 From: Arnaldo Gabriel Date: Mon, 12 Aug 2019 21:26:19 -0400 Subject: [PATCH 2/2] Fixed accidental text selection --- assets/scss/_header.scss | 7 +++++++ layouts/partials/header.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/assets/scss/_header.scss b/assets/scss/_header.scss index 5577fcbc3..ef41fe057 100644 --- a/assets/scss/_header.scss +++ b/assets/scss/_header.scss @@ -41,3 +41,10 @@ .theme-toggler { fill: currentColor; } + +.unselectable { + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 392adfb3f..74b163191 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -13,7 +13,7 @@ {{ end }} - {{ partial "theme-icon.html" . }} + {{ partial "theme-icon.html" . }}