about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-09-01 23:13:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-01 16:13:31 +0200
commit2305f7c391325c7abf8746ebb2bb560c13df4437 (patch)
tree53e0d6023d6c68278d363dfe8301f5cbca9896f8 /app/views/layouts
parentff7d02b2360bea107519f923cf084cbdd7fbca07 (diff)
Use system's default font on non web UI pages (#4553)
* Use system's default font on non web UI pages

* Remove import for Redirect
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 82b20810a..0ba0ffc37 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -35,6 +35,7 @@
     = yield :header_tags
 
   - body_classes ||= @body_classes
+  - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
 
   %body{ class: add_rtl_body_class(body_classes) }
     = content_for?(:content) ? yield(:content) : yield