0
0
Fork 0

Fix reduced motion breaking public galleries (#5423)

This commit is contained in:
Nolan Lawson 2017-10-16 12:08:01 -07:00 committed by Eugen Rochko
parent 34118169ac
commit 8980aa804f
2 changed files with 42 additions and 19 deletions

View file

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