better no-js and crawler image sizing

This commit is contained in:
Jeff Atwood 2015-01-15 02:20:38 -08:00
parent 71bfde3b4d
commit ef8976d68a
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<%- end %>
<%= yield :head %>
<style>
img { width: 100%; height: auto; }
img { max-width: 100%; width: auto; height: auto; }
</style>
</head>
<body>

View File

@ -10,7 +10,7 @@
<%- end %>
<%= yield(:no_js_head) %>
<style>
img { width: 100%; height: auto; }
img { max-width: 100%; width: auto; height: auto; }
</style>
</head>
<body>