Tighten spacing, improve allignment

This commit is contained in:
Jason Zimdars
2025-04-23 13:22:22 -05:00
parent c595713843
commit f9cd725c84
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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;
+1 -1
View File
@@ -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" %>
+2 -2
View File
@@ -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 %>