From 019450645acad67df21e709c77dcc73703ceffec Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 30 Jun 2010 20:18:50 +0200 Subject: [PATCH] make column selection options at fixed position This allows us to click on all/none links, or regexp include/exclude filter without them moving left-right depending on number of selected/total elements --- public/mojo_facets.css | 7 ++++++- templates/all_checkboxes.html.ep | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/mojo_facets.css b/public/mojo_facets.css index 9362a18..07d6bd4 100644 --- a/public/mojo_facets.css +++ b/public/mojo_facets.css @@ -89,6 +89,7 @@ div.col_opts { .chart { float: right; + clear: right; position: relative; margin-top: 1em; } @@ -248,4 +249,8 @@ tr.hidden { margin: 1em; } - +/* templates/all_checkboxes.html.ep */ +span#column_selection { + position: absolute; + left: 15em; +} diff --git a/templates/all_checkboxes.html.ep b/templates/all_checkboxes.html.ep index 465e99f..89991e3 100644 --- a/templates/all_checkboxes.html.ep +++ b/templates/all_checkboxes.html.ep @@ -1,3 +1,4 @@ + all toggle none @@ -8,6 +9,7 @@ +