Files
fizzy/app/views/comments/_new.html.erb
T
Jose Farias a74dd7a081 Merge branch 'main' into house
* main:
  Adjust position of settings buttons
  Actually, no need for a max-size, just let it grow
  Improve comment form design
  Same style as combobox pop-ups
  Ensure bubbles are clickable anyplace in windshield
  Deal with truncation in the list layout, too
  Ensure tags don't affect the bubble shape or spill out of the container
  Style pop-up UI for selecting assignments and tags
  Adjust position now that bubbles won't be so vertical
  Fix that bubbles could collapse in some situations
  dep: bump rexml to address dependabot alert
  dep: bump rails to edge
2024-12-09 10:39:09 -06:00

14 lines
820 B
Plaintext

<div class="comment flex align-start full-width comment--mine margin-block-end-double">
<div class="flex flex-column full-width">
<div class="position-relative">
<%= form_with model: Comment.new, url: bucket_bubble_comments_path(bubble.bucket, bubble), class: "flex flex-column gap full-width", data: { controller: "form", action: "keydown.meta+enter->form#submit" } do |form| %>
<%= form.markdown_area :body, class: "input comment__input", required: true, placeholder: new_comment_placeholder(bubble) %>
<%= form.button class: "comment__submit btn btn--reversed flex-item-justify-end txt-small" do %>
<%= image_tag "check.svg", aria: { hidden: "true" }, size: 24 %>
<span class="for-screen-reader">Save</span>
<% end %>
<% end %>
</div>
</div>
</div>