Browse Source

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
changes/96/109296/1
Sean Dague 7 years ago
parent
commit
e5caf59ced
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      classic_fancy/index.html.tmpl

+ 7
- 2
classic_fancy/index.html.tmpl View File

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


Loading…
Cancel
Save