Merge pull request #191 from vtlanglois/vtlanglois/issue142

Removed `--checkmark-top` to fix multiline checkboxes
This commit is contained in:
Juani Garay 2024-01-25 10:19:43 -03:00 committed by GitHub
commit b31fe7b7cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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