Skip to content

Commit

Permalink
Merge pull request #3051 from tvdeyen/picture-alt-text-height
Browse files Browse the repository at this point in the history
Picture alt text form field height
  • Loading branch information
tvdeyen authored Sep 24, 2024
2 parents 554a227 + 147a6d6 commit 367b5cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/builds/alchemy/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/assets/builds/alchemy/admin.css.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions app/assets/stylesheets/alchemy/admin/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ form {
float: right;
}

textarea {
padding-top: 7px;
}

.input > select,
.input > .select2-container {
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= f.input :caption, as: ingredient.settings[:caption_as_textarea] ? 'text' : 'string' %>
<%= f.input :title %>
<%= f.input :alt_tag, as: :text, placeholder: ingredient.alt_text(language: @language) %>
<%= f.input :alt_tag, as: :text, placeholder: ingredient.alt_text(language: @language), input_html: {rows: 4} %>
<%- if ingredient.settings[:sizes].present? && ingredient.settings[:srcset].blank? -%>
<%= f.input :render_size,
collection: [
Expand Down

0 comments on commit 367b5cf

Please sign in to comment.