diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-10-16 17:05:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 17:05:42 -0400 |
commit | 7364b26e4b57dcaa0712c63659fd6f5ff7782cf9 (patch) | |
tree | 2961b48a56490242ad19434ed5baac7bd5201f9d /app/views/layouts | |
parent | 313ba202ef33be706ba921688997a6e59f84b473 (diff) | |
parent | 8980aa804f2552fbb10f10c7c9395c0bbfc10621 (diff) |
Merge pull request #184 from tootsuite/master
Fix reduced motion breaking public galleries (#5423)
Diffstat (limited to 'app/views/layouts')
-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 24b74c787..b1fd9ef40 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -29,6 +29,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) } |