From 16dec7c23d1bde2fcd307f7f57fed5a6a8427965 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Mon, 7 Mar 2011 12:58:36 +0100 Subject: [PATCH] Add column layout for the facets. --- css/mkdruding1.css | 5 +++++ mkdruding1.js | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/css/mkdruding1.css b/css/mkdruding1.css index 41ad8a5..682d69e 100644 --- a/css/mkdruding1.css +++ b/css/mkdruding1.css @@ -2,6 +2,11 @@ a.cross:hover { text-decoration: line-through; } +.mkdru-facets-table { + table-layout: fixed; + width: 700px; +} + .mkdru-result-description { font-size: 0.8em; } diff --git a/mkdruding1.js b/mkdruding1.js index 8321feb..c1da0eb 100644 --- a/mkdruding1.js +++ b/mkdruding1.js @@ -44,18 +44,18 @@ Drupal.theme.mkdruFacetContainer = function (facetsCfg) { fs.push(facetsCfg[fname]); } fs.sort(function (a,b) { return a.orderWeight - b.orderWeight }); - var html = '

Facet browser

'; + var html = '
'; for (var i=0; i'; html += '
'; html += '
'; html += '
'; - html += '' + html += '' } - html += '
'; + html += '
'; return html; }; -- 1.7.10.4