Reduce motion for boost animation (#5871)
* Reduce motion for boost animation Fixes #5833 * Fix ternary expression
This commit is contained in:
parent
35fdf561be
commit
a8eb0bf44f
2 changed files with 14 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
- body_classes ||= @body_classes || ''
|
||||
- body_classes += ' system-font' if current_account&.user&.setting_system_font_ui
|
||||
- body_classes += current_account&.user&.setting_reduce_motion ? ' reduce-motion' : ' no-reduce-motion'
|
||||
|
||||
%body{ class: add_rtl_body_class(body_classes) }
|
||||
= content_for?(:content) ? yield(:content) : yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue