1
0
mirror of https://github.com/jdan/98.css.git synced 2025-09-25 05:01:29 +02:00

Removed --checkmark-top to fix multiline checkboxes

Fixes #142
This commit is contained in:
Vincent Langlois
2024-01-22 17:03:17 -05:00
parent 09f403c086
commit 632334a4c4

View File

@@ -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)
);