mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-18 19:21:29 +03:00
Change the background image of the checkbox to be on a before
This commit is contained in:
parent
d595402d82
commit
84a26bff31
@ -168,7 +168,6 @@ positioning =
|
|||||||
batch
|
batch
|
||||||
[ display inlineBlock
|
[ display inlineBlock
|
||||||
, padding4 (px 13) zero (px 13) (px 35)
|
, padding4 (px 13) zero (px 13) (px 35)
|
||||||
, verticalAlign middle
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -183,10 +182,18 @@ textStyle =
|
|||||||
addIcon : Asset -> Style
|
addIcon : Asset -> Style
|
||||||
addIcon icon =
|
addIcon icon =
|
||||||
batch
|
batch
|
||||||
|
[ position relative
|
||||||
|
, before
|
||||||
[ backgroundImage icon
|
[ backgroundImage icon
|
||||||
, backgroundRepeat noRepeat
|
, backgroundRepeat noRepeat
|
||||||
, backgroundSize (px 24)
|
, backgroundSize (px 24)
|
||||||
, property "background-position" "left center"
|
, property "content" "''"
|
||||||
|
, position absolute
|
||||||
|
, left zero
|
||||||
|
, top (px 10)
|
||||||
|
, width (px 24)
|
||||||
|
, height (px 24)
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user