Fix erroneously linkable char count.
This commit is contained in:
parent
b035879b0a
commit
cfb056d871
@ -312,6 +312,10 @@ body {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.charcount {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
.in-reply-to .well {
|
.in-reply-to .well {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user