diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-10-16 12:08:01 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-16 21:08:01 +0200 |
commit | 8980aa804f2552fbb10f10c7c9395c0bbfc10621 (patch) | |
tree | f8cbb003870fb790c7584207e088588db48a66d1 /app/views | |
parent | 34118169ace56b31d6d4b26638fb7375171b7796 (diff) |
Fix reduced motion breaking public galleries (#5423)
Diffstat (limited to 'app/views')
-rwxr-xr-x | app/views/layouts/application.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index ee995c987..831858bcf 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -27,6 +27,7 @@ = yield :header_tags - body_classes ||= @body_classes || '' + - body_classes += ' reduce-motion' if current_account&.user&.setting_reduce_motion - body_classes += ' system-font' if current_account&.user&.setting_system_font_ui %body{ class: add_rtl_body_class(body_classes) } |