From dd10cd6b5b138d66e7833fd780a0f230d747ae46 Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Fri, 15 Jun 2018 11:43:50 -0700 Subject: [PATCH] Inlineify the lock on inside styles --- src/Nri/Ui/Checkbox/V3.elm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/Nri/Ui/Checkbox/V3.elm b/src/Nri/Ui/Checkbox/V3.elm index 2ac7179b..b3b5382f 100644 --- a/src/Nri/Ui/Checkbox/V3.elm +++ b/src/Nri/Ui/Checkbox/V3.elm @@ -273,6 +273,10 @@ buildCheckbox assets modifierClasses model labelContent = css [ cursor pointer , outline none + , paddingLeft (px 35) + , backgroundImage assets CheckboxLockOnInside + , backgroundSize (px 24) + , backgroundRepeat noRepeat ] , labelClasses = labelClass model.selected , labelContent = labelContent @@ -512,19 +516,6 @@ containerStyles = ] -lockOnInsideStyles assets = - [ descendants - [ Css.Foreign.label - [ paddingLeft (px 35) - , backgroundImage assets CheckboxLockOnInside - , backgroundSize (px 24) - , backgroundRepeat noRepeat - , property "cursor" "pointer" - ] - ] - ] - - unlockableStyles assets = [ descendants [ Css.Foreign.label