소스 검색

Fix regression from #8439 (#8455)

Missing no-reduce-motion/reduce-motion body class
master
Eugen Rochko 5 년 전
committed by GitHub
부모
커밋
6c9be61f57
No known key found for this signature in database 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


불러오는 중...
취소
저장