1
0
Fork 0

Fix erroneously linkable char count.

This commit is contained in:
Nicolas Perriault 2017-05-03 17:11:18 +02:00
parent b035879b0a
commit cfb056d871
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
2 changed files with 8 additions and 5 deletions

View File

@ -312,6 +312,10 @@ body {
clear: both; clear: both;
} }
.charcount {
cursor: default;
}
.in-reply-to .well { .in-reply-to .well {
padding: 10px; padding: 10px;
} }

View File

@ -263,13 +263,12 @@ draftView ({ draft, currentUser } as model) =
, onClick (DraftEvent ClearDraft) , onClick (DraftEvent ClearDraft)
] ]
[ text "Clear" ] [ text "Clear" ]
, button , div
[ type_ "button" [ class <|
, class <|
if limitExceeded then if limitExceeded then
"btn btn-danger active" "btn btn-danger charcount active"
else else
"btn btn-default active" "btn btn-default charcount active"
] ]
[ text <| toString charCount ] [ text <| toString charCount ]
, button , button