Open thread on status text click.
This commit is contained in:
parent
5fbfe8e7cb
commit
50f74848e8
@ -127,6 +127,7 @@ body {
|
||||
.status-text {
|
||||
margin-left: 65px;
|
||||
color: #efefef;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.status-text a, .u-url, .status .mention, .hashtag, .tag {
|
||||
@ -141,6 +142,7 @@ body {
|
||||
|
||||
.thread-target .status-text {
|
||||
font-size: 1.3em;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Status actions */
|
||||
|
@ -143,7 +143,7 @@ statusContentView : String -> Mastodon.Model.Status -> Html Msg
|
||||
statusContentView context status =
|
||||
case status.spoiler_text of
|
||||
"" ->
|
||||
div [ class "status-text" ]
|
||||
div [ class "status-text", onClick <| OpenThread status ]
|
||||
[ div [] <| ViewHelper.formatContent status.content status.mentions
|
||||
, attachmentListView context status
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user