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