mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 09:51:13 +01:00
Missing no-reduce-motion/reduce-motion body class
This commit is contained in:
parent
f37fafe30b
commit
6c9be61f57
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ module ApplicationHelper
|
|||
output = (@body_classes || '').split(' ')
|
||||
output << "theme-#{current_theme.parameterize}"
|
||||
output << 'system-font' if current_account&.user&.setting_system_font_ui
|
||||
output << current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion'
|
||||
output << (current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion')
|
||||
output << 'rtl' if locale_direction == 'rtl'
|
||||
output.reject(&:blank?).join(' ')
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue