~netlandish/links-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH links] Fixing the formatting on bookmark saved listing page when the link description is too small.

Details
Message ID
<20250509133250.16986-1-peter@netlandish.com>
Sender timestamp
1746775964
DKIM signature
missing
Download raw message
Patch: +6 -4
Fixes: https://todo.code.netlandish.com/~netlandish/links/111
Changelog-fixed: URL jumping up with description when description is too
  short. Happens on saved bookmark listing pages.
---
 templates/link_list.html | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/templates/link_list.html b/templates/link_list.html
index 10166ed..de514ae 100644
--- a/templates/link_list.html
+++ b/templates/link_list.html
@@ -84,11 +84,13 @@
    <div class="button outline primary tag tag-popular is-small">{{ .pCount }}</div>
    </h3>
  </div>
  {{ if .pDescription }}
  <div class="row">
    <p class="is-marginless">
    {{ if .pDescription }}<p>{{ htmlSafe (truncate .pDescription 200) }}</p>{{ end }}
    <small>{{ .pURL }}</small>
    </p>
      <p class="is-marginless">{{ htmlSafe (truncate .pDescription 200) }}</p>
  </div>
  {{ end }}
  <div class="row">
    <p class="is-marginless"><small>{{ .pURL }}</small></p>
  </div>
  <hr>
  {{ end }}
-- 
2.47.2
Details
Message ID
<D9RO6HI44IV3.ME2VNDITW27R@netlandish.com>
In-Reply-To
<20250509133250.16986-1-peter@netlandish.com> (view parent)
Sender timestamp
1746776309
DKIM signature
missing
Download raw message
Applied.

To git@git.code.netlandish.com:~netlandish/links
   8ca5b42..1fba6eb  master -> master
Reply to thread Export thread (mbox)