diff options
Diffstat (limited to 'src/objects/_checkbox.scss')
-rw-r--r-- | src/objects/_checkbox.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/_checkbox.scss b/src/objects/_checkbox.scss index 3bda5e7..5ea2e4a 100644 --- a/src/objects/_checkbox.scss +++ b/src/objects/_checkbox.scss | |||
@@ -4,7 +4,7 @@ | |||
4 | @include iro.props-namespace('checkbox') { | 4 | @include iro.props-namespace('checkbox') { |
5 | @include iro.props-store(( | 5 | @include iro.props-store(( |
6 | --dims: ( | 6 | --dims: ( |
7 | --size: iro.fn-px-to-rem(14px), | 7 | --size: iro.fn-px-to-rem(13px), |
8 | --label-gap: .6rem, | 8 | --label-gap: .6rem, |
9 | --border-width: fn.global-dim(--border-width --medium), | 9 | --border-width: fn.global-dim(--border-width --medium), |
10 | --pad-x: .3rem, | 10 | --pad-x: .3rem, |
@@ -56,7 +56,7 @@ | |||
56 | flex: 0 0 auto; | 56 | flex: 0 0 auto; |
57 | width: fn.dim(--size); | 57 | width: fn.dim(--size); |
58 | height: fn.dim(--size); | 58 | height: fn.dim(--size); |
59 | margin-top: calc(.5 * ($line-height * 1em - fn.dim(--size))); | 59 | margin-top: calc(.5 * (fn.global-dim(--font --standard --line-height) * 1em - fn.dim(--size))); |
60 | border-radius: fn.dim(--border-width); | 60 | border-radius: fn.dim(--border-width); |
61 | background-color: fn.color(--box-border); | 61 | background-color: fn.color(--box-border); |
62 | 62 | ||