Skip to content

Commit

Permalink
display at the top on mobile only
Browse files Browse the repository at this point in the history
  • Loading branch information
RayBB committed Apr 15, 2024
1 parent 7e57083 commit 138e204
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions openlibrary/templates/type/author/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ <h1 itemprop="name">$title</h1>
<h6 class="collapse black uppercase">$_("Location")</h6>
$page.location
</div>

<span class="mobile-only">
$:render_template("authors/infobox", page, title)
</span>
<div class="clearfix"></div>
<div id="works" class="section">
<h2 class="collapse">
Expand Down Expand Up @@ -142,8 +144,9 @@ <h2 class="collapse">
</div>
</div>
<div class="contentOnethird">
$:render_template("authors/infobox", page, title)

<span class="desktop-only">
$:render_template("authors/infobox", page, title)
</span>
$def render_subjects(label, subjects, prefix):
$if subjects:
<div class="section">
Expand Down

0 comments on commit 138e204

Please sign in to comment.