Skip to content

Commit 367c26e

Browse files
committed
Fix scaling issue.
It turns out that if you specify only height or both height and width, the browser is free to change the aspect ratio of the svg. Specifying only width, we don't have that behavior.
1 parent 71034bd commit 367c26e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<a id="responsive-menu-button" href="#sidr-main"><div><svg senable-background="new 0 0 24 24" height="24px" id="Layer_1" version="1.1" viewBox="0 0 24 24" width="24px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g><g><path d="M23.244,17.009H0.75c-0.413,0-0.75,0.36-0.75,0.801v3.421C0,21.654,0.337,22,0.75,22h22.494c0.414,0,0.75-0.346,0.75-0.77 V17.81C23.994,17.369,23.658,17.009,23.244,17.009z M23.244,9.009H0.75C0.337,9.009,0,9.369,0,9.81v3.421 c0,0.424,0.337,0.769,0.75,0.769h22.494c0.414,0,0.75-0.345,0.75-0.769V9.81C23.994,9.369,23.658,9.009,23.244,9.009z M23.244,1.009H0.75C0.337,1.009,0,1.369,0,1.81V5.23c0,0.423,0.337,0.769,0.75,0.769h22.494c0.414,0,0.75-0.346,0.75-0.769V1.81 C23.994,1.369,23.658,1.009,23.244,1.009z"/></g></g></svg></div></a>
2828
<!-- -->
2929
</div>
30-
<a href="index.html"><img src="images/astropy_word.svg" height="32" onerror="this.src='images/astropy_word_32.png; this.onerror=null;"/></a>
30+
<a href="index.html"><img src="images/astropy_word.svg" width="91" onerror="this.src='images/astropy_word_32.png; this.onerror=null;"/></a>
3131
<div id="navigation">
3232
<ul>
3333
<li><a href="about.html">About</a></li>
@@ -47,7 +47,7 @@
4747
</nav>
4848

4949
<section id="hero">
50-
<img src="images/astropy_banner.svg" height="96" onerror="this.src='images/astropy_banner_96.png'; this.onerror=null;" alt="Astropy: a community Python library for Astronomy" />
50+
<img src="images/astropy_banner.svg" width="524" onerror="this.src='images/astropy_banner_96.png'; this.onerror=null;" alt="Astropy: a community Python library for Astronomy" />
5151
<p>The Astropy Project is a community effort to develop a single core
5252
package for Astronomy in Python and foster interoperability between Python
5353
astronomy packages.</p>

0 commit comments

Comments
 (0)