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

@ -60,6 +60,16 @@
= ff.input :'web.disable_hover_cards', wrapper: :with_label, label: I18n.t('simple_form.labels.defaults.setting_disable_hover_cards')
= ff.input :'web.use_system_font', wrapper: :with_label, label: I18n.t('simple_form.labels.defaults.setting_system_font_ui')
.fields-group
= ff.input :'web.content_font_size',
collection: %w(medium large x_large xx_large),
hint: false,
include_blank: false,
kmyblue: true,
label_method: ->(size) { I18n.t("simple_form.labels.defaults.setting_content_font_size_items.#{size}") },
label: I18n.t('simple_form.labels.defaults.setting_content_font_size'),
wrapper: :with_label
%h4= t 'appearance.custom_emoji_and_emoji_reactions'
.fields-group