diff --git a/public/style.css b/public/style.css index 1da55bd..ea5e17e 100644 --- a/public/style.css +++ b/public/style.css @@ -312,6 +312,10 @@ body { clear: both; } +.charcount { + cursor: default; +} + .in-reply-to .well { padding: 10px; } diff --git a/src/View/Draft.elm b/src/View/Draft.elm index 818c5c1..03c7d09 100644 --- a/src/View/Draft.elm +++ b/src/View/Draft.elm @@ -263,13 +263,12 @@ draftView ({ draft, currentUser } as model) = , onClick (DraftEvent ClearDraft) ] [ text "Clear" ] - , button - [ type_ "button" - , class <| + , div + [ class <| if limitExceeded then - "btn btn-danger active" + "btn btn-danger charcount active" else - "btn btn-default active" + "btn btn-default charcount active" ] [ text <| toString charCount ] , button