about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-16 14:46:17 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:23 -0500
commit506d2e9cf05bf9c2f927d581f52e1e268b724092 (patch)
tree098b8ab8cf2ddae230c5d26feca7d6fd275f173f /app/views
parente58efb85285fdc562edc4bcb8ec9f9f5d451ba2b (diff)
add option to embiggen the emojos & embiggen small bbcode text on hover
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml4
-rw-r--r--app/views/settings/preferences/show.html.haml1
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 2f66532c5..387a0f7c3 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -85,5 +85,9 @@
       :css
         .drawer__inner__mastodon>img { display: none !important }
 
+    -if current_account&.user_wants_larger_emoji?
+      :css
+        .status__content .emojione { width: 32px !important; height: 32px !important }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index bfdcaf919..a1c3beb51 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -62,6 +62,7 @@
     = f.input :setting_larger_menus, as: :boolean, wrapper: :with_label
     = f.input :setting_larger_buttons, as: :boolean, wrapper: :with_label
     = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label
+    = f.input :setting_larger_emoji, as: :boolean, wrapper: :with_label
 
   .fields-group
     = f.input :setting_hide_mascot, as: :boolean, wrapper: :with_label