This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(checkbox): Remove duplicate background props (#1812)
The `mdc-checkbox__background` mixin included the `mdc-checkbox__child--cover-parent-` mixin which set the positioning for the element on all sides to 0. However, the `mdc-rtl-reflexive-position` mixin **also** sets left and right positioning and the `mdc-checkbox__background` mixin **also** set the top positioning, resulting in duplicate properties when compiled out to CSS. This fix removes the colliding `mdc-checkbox__child--cover-parent-` mixin and sets only the remaining properties (`position` and `bottom`) to what they normally be.
- Loading branch information