diff --git a/src/scss/cdb-components/forms/checkbox.scss b/src/scss/cdb-components/forms/checkbox.scss index 9354059..3e36b24 100644 --- a/src/scss/cdb-components/forms/checkbox.scss +++ b/src/scss/cdb-components/forms/checkbox.scss @@ -24,10 +24,10 @@ @import '../../cdb-variables/colors'; .CDB-Checkbox { + position: absolute; width: $baseSize * 2; height: $baseSize * 2; opacity: 0; - position: absolute; vertical-align: middle; z-index: 1; } @@ -97,4 +97,4 @@ .CDB-Checkbox:hover + .CDB-Checkbox-face { border: 1px solid $cHoverLine; -} \ No newline at end of file +} diff --git a/src/scss/cdb-components/forms/radio.scss b/src/scss/cdb-components/forms/radio.scss index 1f369f4..0c04d3d 100644 --- a/src/scss/cdb-components/forms/radio.scss +++ b/src/scss/cdb-components/forms/radio.scss @@ -25,10 +25,10 @@ @import '../../cdb-variables/colors'; .CDB-Radio { + position: absolute; width: $baseSize * 2; height: $baseSize * 2; opacity: 0; - position: absolute; vertical-align: middle; z-index: 1; } @@ -87,4 +87,4 @@ .CDB-Radio:focus + .CDB-Radio-face, .CDB-Radio:checked:hover + .CDB-Radio-face { border: 1px solid $cBlue; -} \ No newline at end of file +}