From 8eca4e9139def1b1962beef0d6da4def35b4da09 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 28 Feb 2021 23:39:09 +0300 Subject: [PATCH] followup for 4228758c: only input should be clickable --- options/onoffswitch.css | 1 + 1 file changed, 1 insertion(+) diff --git a/options/onoffswitch.css b/options/onoffswitch.css index 83b228a6..1f47d499 100644 --- a/options/onoffswitch.css +++ b/options/onoffswitch.css @@ -36,6 +36,7 @@ border-radius: 12px; background-color: #E0E0E0; box-shadow: inset 2px 2px 4px rgba(0,0,0,0.1); + pointer-events: none; /* this is just a non-clickable decoration, only `input` is clickable */ } .onoffswitch span::before {