Fix visual regression in popup menus

This commit is contained in:
Jason Zimdars
2025-04-07 15:44:38 -05:00
parent ee0472e3fd
commit c3c4823c95
2 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -4,10 +4,10 @@
<div class="flex flex-column full-width popup__list">
<% @bubble.bucket.users.active.alphabetically.each do |user| %>
<div class="btn popup__item">
<%= button_to user.name, bubble_assignments_path(@bubble, params: { assignee_id: user.id }), method: :post %>
<%= icon_tag "check", size: 18, class: "checked flex-item-justify-end" if @bubble.assignees.include?(user) %>
</div>
<%= button_to bubble_assignments_path(@bubble, params: { assignee_id: user.id }), method: :post, class: "btn popup__item full-width" do %>
<span class="overflow-ellipsis"><%= user.name %></span>
<%= icon_tag "check", size: 18, class: "checked flex-item-justify-end" if @bubble.assignees.include?(user) %>
<% end %>
<% end %>
</div>
</dialog>
+5 -5
View File
@@ -10,12 +10,12 @@
<% end %>
<% end %>
<div class: "flex flex-column full-width popup__list">
<div class="flex flex-column full-width popup__list">
<% @tags.each do |tag| %>
<div class="btn popup__item">
<%= button_to tag.hashtag, bubble_taggings_path(@bubble, params: { tag_title: tag.title }), method: :post %>
<%= icon_tag "check", size: 18, class: "checked flex-item-justify-end" if @bubble.tagged_with?(tag) %>
</div>
<%= button_to bubble_taggings_path(@bubble, params: { tag_title: tag.title }), method: :post, class: "btn full-width popup__item" do %>
<span class="overflow-ellipsis"><%= tag.hashtag %></span>
<%= icon_tag "check", size: 18, class: "checked flex-item-justify-end" if @bubble.tagged_with?(tag) %>
<% end %>
<% end %>
</div>
</dialog>