浏览代码

Fix regression from #8439 (#8455)

Missing no-reduce-motion/reduce-motion body class
master
Eugen Rochko 5 年前
committed by GitHub
父节点
当前提交
6c9be61f57
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/helpers/application_helper.rb

+ 1
- 1
app/helpers/application_helper.rb 查看文件

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


正在加载...
取消
保存