From 8dc5f4ef0cc9e648940b39cc57933e0d0c8e80b8 Mon Sep 17 00:00:00 2001 From: Heiko Joerg Schick Date: Thu, 31 Aug 2023 13:34:53 +0200 Subject: [PATCH 1/2] Added paper link to thumbnail --- static/paper_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/paper_list.js b/static/paper_list.js index e325ffa..f19a315 100644 --- a/static/paper_list.js +++ b/static/paper_list.js @@ -43,7 +43,7 @@ const Paper = props => {
{p.time}
{p.tags}
{utag_controls} - {thumb_img} + {thumb_img}
{p.summary}
similar
inspect
From e324bb91b1427b6363e0fa7ad0be77c8d74f3a87 Mon Sep 17 00:00:00 2001 From: Heiko Joerg Schick Date: Thu, 31 Aug 2023 13:48:41 +0200 Subject: [PATCH 2/2] Prevent thumbnail from increasing width (useful on mobile) --- static/style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 29efaa3..46ddf28 100644 --- a/static/style.css +++ b/static/style.css @@ -119,7 +119,11 @@ body { text-decoration: none; } .rel more { - font-size: 10px; + font-size + : 10px; +} +.rel_img { /* prevent thumbnail from increasing width (useful on mobile) */ + overflow: hidden; } #sbox { width: 100%;