Skip to content

Commit

Permalink
v2: even more compact entries page. #318
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Jan 5, 2025
1 parent 41674c4 commit d567a22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/reader/_app/v2/templates/v2/entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@


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

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

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

</ul>

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

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

{% set summary = entry.get_content(prefer_summary=True).value | striptags | trim %}
{% if summary %}
<p class="small">
<p class="small mb-2">
{{ summary | truncate(223) }}
</p>
{% endif %}

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

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

0 comments on commit d567a22

Please sign in to comment.