Skip to content

Commit

Permalink
Fix image in border-box for mobile?
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Oct 29, 2024
1 parent 68d7555 commit d516e1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _includes/logo.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<html>
<img src='https://moderndive.com/wide_format.png' alt="ModernDive">
<img src='https://moderndive.com/wide_format.png' alt="ModernDive" style="width: 100%; max-width: 100%;">

<div id="border-box-container" class="border-box" style="display: none;">
<div class="text-image-container">
<div class="text">
<div class="text-image-container" style="display: flex; flex-wrap: wrap; align-items: center; gap: 10px;">
<div class="text" style="flex: 1;">
This version isn't the most recent version of the book. We recommend the Second Edition at
<a href="https://moderndive.com/v2/">https://moderndive.com/v2/</a>, which was finalized in Fall 2024 to be published as a hard copy in early 2025 by CRC Press.
You can find a summary of the updates in the Second Edition
<a href="https://moderndive.com/v2/preface.html#about-the-book">here</a>.
</div>
<div class="image">
<div class="image" style="flex: 0 1 250px; max-width: 100%;">
<a href="https://moderndive.com/v2/">
<img src="images/logos/v2_cover.jpg" alt="Second Edition website" width="250" height="375"/>
<img src="images/logos/v2_cover.jpg" alt="Second Edition website" style="width: 100%; height: auto;"/>
</a>
</div>
</div>
Expand Down

0 comments on commit d516e1f

Please sign in to comment.