From 80e7dc41c63ce98850f8b90f9636f82173673b6f Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Mon, 5 May 2025 08:57:36 +0200 Subject: [PATCH] fix overall page layout The previous attempt only looked okay in the footnote section. At the same time, it caused the page to still overflow. This now ensures that only the link expands to a 90% width, leaving the rest of the space for the back reference. Signed-off-by: Daniel Maslowski --- layouts/partials/head_custom.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html index caf4408..5942192 100644 --- a/layouts/partials/head_custom.html +++ b/layouts/partials/head_custom.html @@ -9,11 +9,12 @@ display: flex; } .footnotes p a { - max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-block; white-space: nowrap; - flex: 1 0 90%; +} +.footnotes p a:nth-child(1) { + max-width: 90%; }