Skip to content

Commit 5a10add

Browse files
committed
Update spacing
1 parent 6e5fd25 commit 5a10add

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

app/javascript/css/utilities/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
margin-bottom: var(--grid-gutter);
33
}
44

5+
.mb-xs {
6+
margin-bottom: var(--space-xs);
7+
}
8+
59
.mb-xl {
610
margin-bottom: var(--space-xl);
711
}

app/javascript/css/utilities/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@
590590
fill: var(--joy-text);
591591
}
592592

593+
.p-1 {
594+
padding: 0.25rem;
595+
}
596+
593597
.p-2 {
594598
padding: 0.5rem;
595599
}

app/views/topics/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h3 class="mb-8 hidden lg:block"><%= topic.name %></h3>
2121
<ul>
2222
<% topic.pages.as_published_articles.each do |page| %>
23-
<%= tag.li id: dom_id(page) do %>
23+
<%= tag.li id: dom_id(page), class: "mb-xs" do %>
2424
<%= render Pages::Info.new(
2525
title: page.title,
2626
request_path: page.request_path,

0 commit comments

Comments
 (0)