Skip to content

Commit

Permalink
Fix avatar/header field styling issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem committed Dec 17, 2024
1 parent f0453c6 commit 4092d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/settings/profiles/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
= f.input :avatar,
hint: t('simple_form.hints.defaults.avatar', dimensions: Account::Avatar::AVATAR_GEOMETRY, size: number_to_human_size(Account::Avatar::AVATAR_LIMIT)),
input_html: { accept: Account::Avatar::AVATAR_IMAGE_MIME_TYPES.join(',') },
wrapper: :with_block_label
wrapper: :with_label
- if @account.avatar.present?
= f.input :avatar_description, wrapper: :with_label, input_html: { maxlength: Account::DESCRIPTION_LENGTH_LIMIT }, chuckya_only: true

Expand All @@ -54,7 +54,7 @@
= f.input :header,
hint: t('simple_form.hints.defaults.header', dimensions: Account::Header::HEADER_GEOMETRY, size: number_to_human_size(Account::Header::HEADER_LIMIT)),
input_html: { accept: Account::Header::HEADER_IMAGE_MIME_TYPES.join(',') },
wrapper: :with_block_label
wrapper: :with_label
- if @account.header.present?
= f.input :header_description, wrapper: :with_label, input_html: { maxlength: Account::DESCRIPTION_LENGTH_LIMIT }, chuckya_only: true

Expand Down

0 comments on commit 4092d3f

Please sign in to comment.