Use "wikipedia" widget instead of "reference" (see MKWS-348)
authorMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 16:58:51 +0000 (16:58 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 16:58:51 +0000 (16:58 +0000)
Tweak styles.

examples/htdocs/demo-for-ag.html

index 2b90be8..9450b94 100644 (file)
@@ -2,13 +2,13 @@
   <script src="//mkws.indexdata.com/mkws-complete.js"></script>
   <script src="mkws-widget-ru.js"></script>
   <script>var mkws_config = { sp_auth_credentials: "autographics/agprod973" }</script>
-  <div style="max-width: 18em; margin: 1.5em 1.5em; float: left">
+  <div style="width: 18em; margin: 1.5em 1.5em; float: left">
     <link rel="stylesheet" type="text/css" href="mkws-widget-ru.css" />
     <div class="mkws-reference-universe" mkws-team="r" autosearch="!param!q" ></div>
   </div>
-  <div style="max-width: 18em; margin: 1.5em 1.5em; float: left">
+  <div style="width: 18em; margin: 1.5em 1.5em; float: left">
     <style>.mkws-credit { font-size: small; float: right }
            .mkws-credit::before { content: "Source: " }</style>
-    <div class="mkws-reference" mkws-team="w" autosearch="!param!q" sentences="3"></div>
+    <div class="mkws-wikipedia" mkws-team="w" autosearch="!param!q" sentences="3"></div>
   </div>
 </html>