Skip to content

Commit d44ad64

Browse files
committed
Correct PDF icon width on mobile
The Tufte CSS tends to force image widths to 100% on mobile unless you override.
1 parent b4ac43f commit d44ad64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template-index.html.p

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<input type="checkbox" id="margin-bookcover" class="margin-toggle" />
6363
<span class="marginnote"><img src="flatland/img/flatland-cover.png" /></span></p>
6464
65-
<p>&rarr; <a href="flatland/flatland-book.pdf"><img src="css/pdficon.png" height="15" alt="PDF Download" />
65+
<p>&rarr; <a href="flatland/flatland-book.pdf"><img src="css/pdficon.png" height="15" width="15" style="width:auto" alt="PDF Download" />
6666
Download the complete book</a> or <a href="https://www.createspace.com/6059658">order the print version</a></p>
6767
6868
◊(define (chapter-li chapter)

0 commit comments

Comments
 (0)