From e6ba007f1861b9601527ba19a35c5b88dc423d16 Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Sun, 23 Apr 2017 14:39:11 +0200 Subject: [PATCH] Gain real estate with large notifications. --- public/style.css | 4 ++++ src/View.elm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 5e4be4f..06342b5 100644 --- a/public/style.css +++ b/public/style.css @@ -25,6 +25,10 @@ body { .notification.follow > p { margin-bottom: 0; } +.notification .spoiled, +.notification .attachments { + display: none; +} .panel-heading { font-weight: bold; diff --git a/src/View.elm b/src/View.elm index ef4701e..2e854bb 100644 --- a/src/View.elm +++ b/src/View.elm @@ -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"