Credo bootstrap wider with narrower images
authorJason Skomorowski <jason@indexdata.com>
Mon, 9 Jun 2014 16:08:05 +0000 (12:08 -0400)
committerJason Skomorowski <jason@indexdata.com>
Mon, 9 Jun 2014 16:08:05 +0000 (12:08 -0400)
examples/htdocs/mkws-widget-credo-bs.js
examples/htdocs/ref-bootstrap.html

index 14ba781..49651ea 100644 (file)
@@ -54,7 +54,7 @@ mkws.registerWidgetType('Credo', function() {
   s.push('</div>');
   
   s.push('<div class="row">');
-  s.push(section('image col-md-12', 'Images', this.subwidget('GoogleImage', { maxrecs: 3, template: 'CredoImage', target: 'google_images_js' })));
+  s.push(section('image col-md-12', 'Images', this.subwidget('GoogleImage', { maxrecs: 4, template: 'CredoImage', target: 'google_images_js' })));
   s.push('</div>');
   
 
index 91430f0..c2b1bfa 100644 (file)
     </script>
     <script type="text/javascript" src="//mkws.indexdata.com/mkws-complete.js"></script>
     <script type="text/javascript" src="mkws-widget-credo-bs.js"></script>
+    <style>
+      .mkwsCredo {
+        max-width: 1440px;
+      }
+      .image img {
+        min-width: 240px;
+      }
+    </style>
   </head>
   <body>
-    <div class='mkwsCredo page-header container' autosearch='!param!q'></div>
+    <div class='mkwsCredo page-header container-fluid' autosearch='!param!q'></div>
   </body>
 </html>