Add: #769 投稿のフォントサイズ調整機能 (#810)

This commit is contained in:
KMY(雪あすか) 2024-08-21 12:23:30 +09:00 committed by GitHub
parent 912072d2e5
commit 997d744cea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 59 additions and 4 deletions

View file

@ -171,6 +171,7 @@ module ApplicationHelper
output << 'system-font' if current_account&.user&.setting_system_font_ui
output << (current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion')
output << 'rtl' if locale_direction == 'rtl'
output << "content-font-size__#{current_account&.user&.setting_content_font_size}"
output.compact_blank.join(' ')
end