~netlandish/links-dev

links: Fixing the formatting on bookmark saved listing page when the link description is too small. v1 APPLIED

Peter Sanchez: 1
 Fixing the formatting on bookmark saved listing page when the link description is too small.

 1 files changed, 6 insertions(+), 4 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.code.netlandish.com/~netlandish/links-dev/patches/144/mbox | git am -3
Learn more about email & git

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

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
Applied.

To git@git.code.netlandish.com:~netlandish/links
   8ca5b42..1fba6eb  master -> master