Skip to content

Commit 3bc3c6d

Browse files
authored
fix: fix table spacing when there's no subtitle (#79)
fix table spacing when there's no subtitle
1 parent c85a060 commit 3bc3c6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rockgarden/templates/folder_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<table class="table table-zebra">
2626
<thead>
2727
<tr>
28-
<th scope="col" style="width: 40%">Title</th>
28+
<th scope="col" style="width: {% if has_subtitle %}40{% else %}80{% endif %}%">Title</th>
2929
{% if has_subtitle %}<th scope="col" style="width: 40%">Subtitle</th>{% endif %}
3030
<th scope="col" class="whitespace-nowrap">Modified</th>
3131
<th scope="col">Tags</th>

0 commit comments

Comments
 (0)