git.iko.soy/typeable/elm-ui
on master help sign in
No text selection on button
commitd2f6eb6a1298394855db0e59314eaae63d8b7ad4 authorMatthew Griffith <mdg.griffith@gmail.com> dateTue 11 Sep 2018, 10:08 (8 years ago) parent52ce5b0
1 file changed+9−3
src/Element/Input.elm+9−3
src/Element/Input.elm+9−3
@@ -151,9 +151,15 @@ button attrs { onPress, label } =
151151 Internal.div
152152 (Element.width Element.shrink
153153 :: Element.height Element.shrink
154− :: Internal.htmlClass classes.contentCenterX
155− :: Internal.htmlClass classes.contentCenterY
156− :: Internal.htmlClass classes.seButton
154+ :: Internal.htmlClass
155+ (classes.contentCenterX
156+ ++ " "
157+ ++ classes.contentCenterY
158+ ++ " "
159+ ++ classes.seButton
160+ ++ " "
161+ ++ classes.noTextSelection
162+ )
157163 :: Element.pointer
158164 :: focusDefault attrs
159165 :: Internal.Describe Internal.Button