Skip to content

Commit

Permalink
fix marginをタグフィルター側に持たせるように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
flour621 committed Jan 23, 2025
1 parent a101719 commit 87925ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/develop/include/htmx/swap-index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- タグフィルター -->
<div class="mb-10">
@include("/include/tag/filter.html")
</div>
@include("/include/tag/filter.html", {
"addtional_class": "mb-10",
})

@include("/include/entry/summary-card.html", {
"ctx": "cid/%{CID}/page/%{PAGE}/%{DATE_YEAR}/%{DATE_MONTH}/keyword/%{KEYWORD}/tag/%{TAG}/"
Expand Down
2 changes: 2 additions & 0 deletions src/develop/include/tag/filter.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!-- BEGIN_MODULE Tag_Filter id="{{module_id}}" -->
<div class="{{addtional_class}}">
<!-- BEGIN tagBox -->
<p class="flex flex-wrap gap-3 text-gray-900 text-2xl font-bold"><!-- BEGIN selected:loop -->
<span>#{name}</span>
Expand All @@ -22,4 +23,5 @@ <h2 class="text-gray-500">さらに絞り込む</h2>
</div>
<!-- END choice:veil -->
<!-- END tagBox -->
</div>
<!-- END_MODULE Tag_Filter -->

0 comments on commit 87925ca

Please sign in to comment.