Add margins to the input instead of a wrapper.
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
autofocus: card.title.blank? || params[:focus_on_title], rows: 1,
|
||||
data: { autoresize_target: "textarea", action: "input->autoresize#resize auto-save#change blur->auto-save#submit keydown.enter->auto-save#submit:prevent keydown.ctrl+enter->auto-save#submit:prevent" } %>
|
||||
</h1>
|
||||
|
||||
<%= form.rich_textarea :description, class: "card-field__description",
|
||||
<%= form.rich_textarea :description, class: "card-field__description margin-block-start-half margin-block-end",
|
||||
placeholder: "Add some notes, context, pictures, or video about this…",
|
||||
data: { action: "actiontext:change->auto-save#change focusout->auto-save#submit keydown.ctrl+enter->form#submit:prevent keydown.meta+enter->form#submit:prevent keydown.esc->form#cancel:stop" } do %>
|
||||
<%= mentions_prompt(card.collection) %>
|
||||
|
||||
Reference in New Issue
Block a user