From 781ef4b5ab31403d05561bb9c8fae5fb76360ec3 Mon Sep 17 00:00:00 2001 From: Daniel Maslowski Date: Sun, 4 May 2025 22:49:34 +0200 Subject: [PATCH] fix style for lengthy links The newly added link to the Linux Foundation blog in the footnote broke the layout on mobile. This ellipsizes it instead. Signed-off-by: Daniel Maslowski --- layouts/partials/head_custom.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/layouts/partials/head_custom.html b/layouts/partials/head_custom.html index cfc72dc..caf4408 100644 --- a/layouts/partials/head_custom.html +++ b/layouts/partials/head_custom.html @@ -5,4 +5,15 @@ .navbar-custom .avatar-container .avatar-img { border-radius: 0; } +.footnotes p { + display: flex; +} +.footnotes p a { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + display: inline-block; + white-space: nowrap; + flex: 1 0 90%; +}