Refactor initial state: reduce_motion and auto_play_gif (#5501)
This commit is contained in:
parent
e4080772b5
commit
3de22a82bf
13 changed files with 27 additions and 52 deletions
|
@ -27,7 +27,6 @@
|
|||
= 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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue