From 3787c4eb28a2125cb5109c2dcdbe86d0505def03 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Sun, 19 Jul 2020 18:18:29 +0530 Subject: [PATCH] refactor: Remove un-wanted code --- frappe/public/less/desk.less | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/frappe/public/less/desk.less b/frappe/public/less/desk.less index 26f80c1262..36ceed9bfa 100644 --- a/frappe/public/less/desk.less +++ b/frappe/public/less/desk.less @@ -845,31 +845,11 @@ input[type="checkbox"] { height: 100%; } -// mozilla doesn't support +// Firefox doesn't support // pseudo elements on checkbox -@-moz-document url-prefix() { +@supports (-moz-appearance: none) or (-ms-ime-align:auto) { input[type="checkbox"] { - visibility: visible; - left: 0; - height: 12px !important - } -} - -@supports (-moz-appearance: none) { - input[type="checkbox"] { - visibility: visible; - left: 0; - height: 12px !important - } -} - -// edge doesn't support pseudo elements on checkbox -//Microsoft Edge Browser 12+ (All) -@supports (-ms-ime-align:auto) { - input[type="checkbox"] { - visibility: visible; - left: 0; - height: 12px !important + height: @checkbox-height !important } }