From 9489e23fc49f2f7be836e24cf6204ce35d47295c Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Tue, 22 Jul 2025 14:32:43 -0500 Subject: [PATCH] Add margins to the input instead of a wrapper. --- app/views/cards/container/_title.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/cards/container/_title.html.erb b/app/views/cards/container/_title.html.erb index 451914953..6ad7d5829 100644 --- a/app/views/cards/container/_title.html.erb +++ b/app/views/cards/container/_title.html.erb @@ -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" } %> - - <%= 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) %>