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
This commit is contained in:
Yamagishi Kazutoshi 2017-09-01 23:13:31 +09:00 committed by Eugen Rochko
parent ff7d02b236
commit 2305f7c391
4 changed files with 16 additions and 31 deletions

View file

@ -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