From 4580e0e893106c970004d4e9dbb82c2f6a9a9556 Mon Sep 17 00:00:00 2001 From: Akshat Sinha Date: Tue, 14 Oct 2025 12:06:30 +0530 Subject: [PATCH] fix(home): wrap tomorrow's zoom event URL for responsiveness Signed-off-by: Akshat Sinha --- assets/scss/_index.scss | 5 +++++ layouts/shortcodes/home/next_event.html | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/scss/_index.scss b/assets/scss/_index.scss index 0b09cef2a..fda414e89 100644 --- a/assets/scss/_index.scss +++ b/assets/scss/_index.scss @@ -65,10 +65,15 @@ main.td-main { padding-bottom: 45px; padding-top: 20px; font-size: 32px; + overflow-wrap: anywhere; + word-break:break-word; span.origtz { display: none; } } + p.next-event a { + white-space: normal; + } a { text-decoration: underline; } diff --git a/layouts/shortcodes/home/next_event.html b/layouts/shortcodes/home/next_event.html index 2252ba53f..9114829bd 100644 --- a/layouts/shortcodes/home/next_event.html +++ b/layouts/shortcodes/home/next_event.html @@ -5,7 +5,8 @@ {{ range first 1 $.Site.Data.calendar }} 📆 Next event: {{ .date }} {{ .time }} UTC:
{{ .label }}
-Where: {{ safeURL .where }} +Where: {{ .where|safeHTML}} + {{ end }}