Same padding for all popup__items
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<% @collection.users.active.alphabetically.each do |user| %>
|
||||
<li class="popup__group flex align-center full-width" data-filter-target="item" data-navigable-list-target="item">
|
||||
<%= button_to card_assignments_path(@card, params: { assignee_id: user.id }), method: :post,
|
||||
class: "popup__item btn unpad-inline",
|
||||
class: "popup__item btn",
|
||||
form_class: "max-width flex-item-grow" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= user.name %></span>
|
||||
<%= icon_tag "check", size: 18, class: "checked flex-item-no-shrink flex-item-justify-end", style: "--icon-size: 1em" if @card.assignees.include?(user) %>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<% Current.user.collections.alphabetically.each do |collection| %>
|
||||
<li class="popup__group flex align-center full-width" data-filter-target="item" data-navigable-list-target="item">
|
||||
<%= button_to card_collection_path(card, params: { collection_id: collection.id }), method: :patch,
|
||||
class: "popup__item btn unpad-inline",
|
||||
class: "popup__item btn",
|
||||
form_class: "max-width flex-item-grow" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= collection.name %></span>
|
||||
<%= icon_tag "check", size: 18, class: "checked flex-item-no-shrink flex-item-justify-end", style: "--icon-size: 1em" if card.collection == collection %>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<% @tags.each do |tag| %>
|
||||
<li class="popup__group flex align-center full-width" data-filter-target="item" data-navigable-list-target="item">
|
||||
<%= button_to card_taggings_path(@card, params: { tag_title: tag.title }), method: :post,
|
||||
class: "popup__item btn unpad-inline",
|
||||
class: "popup__item btn",
|
||||
form_class: "max-width flex-item-grow" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= tag.hashtag %></span>
|
||||
<%= icon_tag "check", size: 18, class: "checked flex-item-no-shrink flex-item-justify-end", style: "--icon-size: 1em" if @card.tagged_with?(tag) %>
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow">No one</span>
|
||||
<% if filter.assignment_status.unassigned? %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
@@ -70,7 +70,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= user.name %></span>
|
||||
<% if filter.assignees.include?(user) %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= user.name %></span>
|
||||
<% if filter.closers.include?(user) %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= user.name %></span>
|
||||
<% if filter.creators.include?(user) %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= index.humanize %></span>
|
||||
<% if filter.indexed_by == index %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<%= hidden_field_tag :expand_all, @expand_all %>
|
||||
<% end %>
|
||||
|
||||
<%= form.button type: "submit", class: "popup__item btn unpad-inline" do %>
|
||||
<%= form.button type: "submit", class: "popup__item btn" do %>
|
||||
<span class="overflow-ellipsis flex-item-grow"><%= tag.hashtag %></span>
|
||||
<% if filter.tags.include?(tag) %>
|
||||
<%= icon_tag "check", class: "checked flex-item-justify-end" %>
|
||||
|
||||
Reference in New Issue
Block a user