Skip to content

Commit

Permalink
Wrap long cover artist (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfabulich authored Oct 23, 2024
1 parent 04e6f3a commit 1df54c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions IFComp/root/src/_current_entry_row.tt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span style="font-size: smaller;" itemprop="genai_cover"><em>Generative artificial intelligence was used to make this cover art.</em></span>
[% END %]
[% IF entry.cover_artist %]
<br><p><strong>Cover art by:</strong><br/><span itemprop="author">[% entry.cover_artist %]</span></p>
<br><p class="wrap-anywhere"><strong>Cover art by:</strong><br/><span itemprop="author">[% entry.cover_artist %]</span></p>
[% END %]
</div>
[% END %]
Expand All @@ -22,7 +22,7 @@
</p>
[% END %]

<div itemprop="description" class="blurb">
<div itemprop="description" class="wrap-anywhere">
[% FILTER html_para %]
[% entry.blurb | html %]
[% END %]
Expand Down
4 changes: 2 additions & 2 deletions IFComp/root/src/_entry_row.tt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ END;
</p>
[% END %]
[% IF entry.cover_artist %]
<p><strong>Cover art by:</strong> [% entry.cover_artist %]</p>
<p class="wrap-anywhere"><strong>Cover art by:</strong> [% entry.cover_artist %]</p>
[% END %]

[% FILTER html_para %]
<div class="blurb">[% entry.blurb %]</div>
<div class="wrap-anywhere">[% entry.blurb %]</div>
[% END %]

<p><em>[% metadata.join(' &bull; ') %]</em></p>
Expand Down
2 changes: 1 addition & 1 deletion IFComp/root/static/css/ifcomp.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ option:checked {
scroll-margin-top: 75px;
}

.blurb {
.wrap-anywhere {
overflow-wrap: anywhere;
}

Expand Down

0 comments on commit 1df54c7

Please sign in to comment.