add img max width

To prevent images from blasting out of the column provide a
max width css setting to the main column in the planet.

Change-Id: Ie00d92f940dcf6c0c23ac7fadb967a11983a82c7
This commit is contained in:
Sean Dague 2014-07-24 09:49:41 -04:00
parent 63d48cac52
commit e5caf59ced
1 changed files with 7 additions and 2 deletions

View File

@ -34,7 +34,12 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})(); })();
</script> </script>
<style type="text/css">
div#main img {
max-width: 100%;
height: auto;
}
</style>
</head> </head>
<body> <body>
@ -63,7 +68,7 @@
</div> </div>
<div class="container"> <div class="container">
<div class="span-18"> <div id='main' class="span-18">
<TMPL_LOOP Items> <TMPL_LOOP Items>
<TMPL_IF new_date> <TMPL_IF new_date>