From 632334a4c467f36a959e41f9da65708095e5a2c7 Mon Sep 17 00:00:00 2001 From: Vincent Langlois Date: Mon, 22 Jan 2024 17:03:17 -0500 Subject: [PATCH] Removed `--checkmark-top` to fix multiline checkboxes Fixes #142 --- style.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/style.css b/style.css index 9d50c03..e516eb4 100644 --- a/style.css +++ b/style.css @@ -45,7 +45,6 @@ --checkbox-total-width: calc(var(--checkbox-total-width-precalc)); --checkbox-left: calc(-1 * var(--checkbox-total-width-precalc)); --checkmark-width: 7px; - --checkmark-top: 3px; --checkmark-left: 3px; /* Borders */ @@ -429,7 +428,6 @@ input[type="checkbox"]:checked + label::after { width: var(--checkmark-width); height: var(--checkmark-width); position: absolute; - top: var(--checkmark-top); left: calc( -1 * (var(--checkbox-total-width-precalc)) + var(--checkmark-left) );