about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-04 19:25:58 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit992218f05f76106857f2cb5a72c0bb4510aa4563 (patch)
tree11b1f7636e09abd48f72d6a4a611dc1ae8b90d9b /app/views/layouts
parent545330dc657e78ee17bb58b094328054380eeb4f (diff)
Anxiety reduction: add option to hide mascot.
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 00d8af13a..6bd9a00ab 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -81,5 +81,9 @@
       :css
         .status__wrapper--filtered { display: none !important; }
 
+    - if current_account&.user&.setting_hide_mascot
+      :css
+        .drawer__inner__mastodon>img { display: none !important }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield