Skip to content

Commit 6362575

Browse files
authored
Merge pull request #886 from agriyakhetarpal/fix/comic-img
Fix improper comic shortcode that causes the NumPy navbar logo to be shrunk on the "Contribute" page(s)
2 parents 8a6a526 + 79f806d commit 6362575

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

layouts/shortcodes/comic.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
<div class="comic"></div>
1+
<div class="comic">
22
<a href="https://heyzine.com/flip-book/3e66a13901.html">
33
<img src="/images/content_images/numpy-comic.png" alt="NumPy Contributor comic book cover">
44
</a>
55
</div>
66

77
<style>
8-
.comic {
8+
.comic img {
99
max-width: 20%;
10-
max-height: 20%;
11-
}
12-
img {
13-
max-width: 20%;
14-
max-height: 20%;
1510
}
1611
</style>

0 commit comments

Comments
 (0)