mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-29 07:18:39 +03:00
resolves #84 - add clip to placeholder so it doesn't overflow
This commit is contained in:
parent
aab80e2fbc
commit
6eae47bf09
@ -965,10 +965,10 @@ textHelper textInput attrs textOptions =
|
||||
|
||||
renderPlaceholder (Placeholder placeholderAttrs placeholderEl) forPlaceholder on =
|
||||
Element.el
|
||||
--defaultTextPadding
|
||||
(forPlaceholder
|
||||
++ [ Font.color charcoal
|
||||
, Internal.htmlClass (classes.noTextSelection ++ " " ++ classes.passPointerEvents)
|
||||
, Element.clip
|
||||
, Border.color (Element.rgba 0 0 0 0)
|
||||
, Background.color (Element.rgba 0 0 0 0)
|
||||
, Element.height Element.fill
|
||||
|
Loading…
Reference in New Issue
Block a user