From: Yamagishi Kazutoshi Date: Sat, 2 Sep 2017 12:01:59 +0000 (+0900) Subject: Fix profile page when use system's font (#4774) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6fd2e8c3c5e3be75b2bcc423bca72a8b3b931f04;p=mastodon.git Fix profile page when use system's font (#4774) --- diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 0ba0ffc37..e21fb1ce1 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -34,7 +34,7 @@ = yield :header_tags - - body_classes ||= @body_classes + - body_classes ||= @body_classes || '' - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui %body{ class: add_rtl_body_class(body_classes) }