Gain real estate with large notifications.

This commit is contained in:
Nicolas Perriault 2017-04-23 14:39:11 +02:00
parent 7a2d3dda10
commit e6ba007f18
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
2 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,10 @@ body {
.notification.follow > p {
margin-bottom: 0;
}
.notification .spoiled,
.notification .attachments {
display: none;
}
.panel-heading {
font-weight: bold;

View File

@ -306,7 +306,7 @@ notificationHeading account str iconType =
notificationStatusView : Mastodon.Status -> Mastodon.Notification -> Html Msg
notificationStatusView status { type_, account } =
div [ class "notification mention" ]
div [ class "notification" ]
[ case type_ of
"reblog" ->
notificationHeading account "boosted your toot" "fire"