mirror of
https://github.com/jdan/98.css.git
synced 2025-09-09 21:50:40 +02:00
Merge pull request #191 from vtlanglois/vtlanglois/issue142
Removed `--checkmark-top` to fix multiline checkboxes
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
Reference in New Issue
Block a user