Ver a proveniência

Fix regression from #8439 (#8455)

Missing no-reduce-motion/reduce-motion body class
master
Eugen Rochko há 5 anos
committed by GitHub
ascendente
cometimento
6c9be61f57
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      app/helpers/application_helper.rb

+ 1
- 1
app/helpers/application_helper.rb Ver ficheiro

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


Carregando…
Cancelar
Guardar