Skip to content

Commit e7f8b0c

Browse files
committed
v2: even more compact entries page. #318
1 parent 41674c4 commit e7f8b0c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/reader/_app/v2/templates/v2/entries.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646

4747

4848
{% for entry in entries %}
49-
<div class="mb-4">
49+
<div class="mb-3">
5050

51-
<ul class="list-inline mb-1">
51+
<ul class="list-inline" style="margin-bottom: 0.125rem">
5252

5353
<li class="list-inline-item">
5454
<a class="text-decoration-none" href="{{ url_for('reader.entries', feed=entry.feed.url) }}">
@@ -73,7 +73,7 @@
7373

7474
</ul>
7575

76-
<h2 class="h5">
76+
<h2 class="h5 mb-1" style="font-size: 1.125rem">
7777
<a class="text-decoration-none" href="{{ url_for('reader.entry', feed=entry.feed.url, entry=entry.id) }}">
7878
{{ (entry.title or 'untitled') | striptags | truncate(95) }}
7979

@@ -90,12 +90,12 @@ <h2 class="h5">
9090

9191
{% set summary = entry.get_content(prefer_summary=True).value | striptags | trim %}
9292
{% if summary %}
93-
<p class="small">
93+
<p class="small mb-2">
9494
{{ summary | truncate(223) }}
9595
</p>
9696
{% endif %}
9797

98-
<form class="my-3">
98+
<form class="my-2">
9999
{# TODO: aria stuff #}
100100

101101
<button type="submit" class="btn btn-outline-secondary btn-sm" style="width: 4rem">

0 commit comments

Comments
 (0)