Tighten spacing, improve allignment
This commit is contained in:
@@ -22,8 +22,9 @@
|
||||
}
|
||||
|
||||
.tag-picker__button {
|
||||
font-size: 0.7em;
|
||||
margin-inline-start: 0.5em;
|
||||
font-size: 0.6em;
|
||||
margin-block-start: 0.2em;
|
||||
margin-inline-start: 0.2em;
|
||||
|
||||
+ .panel {
|
||||
--panel-size: 18ch;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<div class="card-perma__bg">
|
||||
<%= card_article_tag card, class: "card" do %>
|
||||
<header class="card__header flex align-center gap min-width">
|
||||
<header class="card__header flex align-center gap-half min-width">
|
||||
<%= link_to card.collection.name, cards_path(collection_ids: [ card.collection ]),
|
||||
class: "card__collection txt-uppercase overflow-ellipsis txt-reversed" %>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="<%= dom_id(card, :tags) %>" class="card__tags flex-item-grow min-width">
|
||||
<div id="<%= dom_id(card, :tags) %>" class="card__tags flex-item-grow min-width gap-half">
|
||||
<div class="overflow-ellipsis">
|
||||
<% if card.tags.any? || card.creating? %>
|
||||
<span># </span>
|
||||
<span class="margin-inline-start-half"># </span>
|
||||
<% card.tags.each_with_index do |tag, index| %>
|
||||
<%= link_to cards_path(collection_ids: [ card.collection ], tag_ids: [ tag.id ]),
|
||||
class: "card__tag btn btn--plain min-width txt-uppercase fill-transparent" do %>
|
||||
|
||||
Reference in New Issue
Block a user