From 1df54c70c55c2d1e0b83fba15411db36bfa86730 Mon Sep 17 00:00:00 2001 From: Dan Fabulich Date: Wed, 23 Oct 2024 19:32:42 -0400 Subject: [PATCH] Wrap long cover artist (#447) --- IFComp/root/src/_current_entry_row.tt | 4 ++-- IFComp/root/src/_entry_row.tt | 4 ++-- IFComp/root/static/css/ifcomp.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/IFComp/root/src/_current_entry_row.tt b/IFComp/root/src/_current_entry_row.tt index faf20f6c..e4e30dc3 100644 --- a/IFComp/root/src/_current_entry_row.tt +++ b/IFComp/root/src/_current_entry_row.tt @@ -7,7 +7,7 @@ Generative artificial intelligence was used to make this cover art. [% END %] [% IF entry.cover_artist %] -

Cover art by:

+

Cover art by:

[% END %] [% END %] @@ -22,7 +22,7 @@

[% END %] -
+
[% FILTER html_para %] [% entry.blurb | html %] [% END %] diff --git a/IFComp/root/src/_entry_row.tt b/IFComp/root/src/_entry_row.tt index 29984b95..b66833e3 100644 --- a/IFComp/root/src/_entry_row.tt +++ b/IFComp/root/src/_entry_row.tt @@ -32,11 +32,11 @@ END;

[% END %] [% IF entry.cover_artist %] -

Cover art by: [% entry.cover_artist %]

+

Cover art by: [% entry.cover_artist %]

[% END %] [% FILTER html_para %] -
[% entry.blurb %]
+
[% entry.blurb %]
[% END %]

[% metadata.join(' • ') %]

diff --git a/IFComp/root/static/css/ifcomp.css b/IFComp/root/static/css/ifcomp.css index 10ed1e18..5eafc175 100644 --- a/IFComp/root/static/css/ifcomp.css +++ b/IFComp/root/static/css/ifcomp.css @@ -76,7 +76,7 @@ option:checked { scroll-margin-top: 75px; } -.blurb { +.wrap-anywhere { overflow-wrap: anywhere; }