summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Leibman <michael.leibman@gmail.com>2013-05-20 15:33:33 -0700
committerMichael Leibman <michael.leibman@gmail.com>2013-05-22 14:34:24 -0700
commit6943f96ecf2b611fa3dd2defeb6e041f0ab6327a (patch)
treecd21ffd9efbf289b47e41702df369152cf9f1549
parentdb19b1928da9d418a332e2e5a6c9b2264e75af55 (diff)
downloadSlickGrid-6943f96ecf2b611fa3dd2defeb6e041f0ab6327a.zip
SlickGrid-6943f96ecf2b611fa3dd2defeb6e041f0ab6327a.tar.gz
SlickGrid-6943f96ecf2b611fa3dd2defeb6e041f0ab6327a.tar.bz2
Fix #418 - header menu icons not visible in FF when used with sortable columns
-rw-r--r--examples/example-plugin-headerbuttons.html3
-rw-r--r--plugins/slick.headerbuttons.css3
-rw-r--r--slick.grid.css2
3 files changed, 6 insertions, 2 deletions
diff --git a/examples/example-plugin-headerbuttons.html b/examples/example-plugin-headerbuttons.html
index b3048a1..86516d7 100644
--- a/examples/example-plugin-headerbuttons.html
+++ b/examples/example-plugin-headerbuttons.html
@@ -48,7 +48,7 @@
var grid;
var data = [];
var options = {
- enableCellNavigation:true
+ enableCellNavigation: true
};
var columns = [];
var columnsWithHighlightingById = {};
@@ -61,6 +61,7 @@
name: String.fromCharCode("A".charCodeAt(0) + i),
field: i,
width: 90,
+ sortable: true,
formatter: highlightingFormatter,
header: {
buttons: [
diff --git a/plugins/slick.headerbuttons.css b/plugins/slick.headerbuttons.css
index 9bd05cd..0ba79ea 100644
--- a/plugins/slick.headerbuttons.css
+++ b/plugins/slick.headerbuttons.css
@@ -1,4 +1,5 @@
-.slick-column-name {
+.slick-column-name,
+.slick-sort-indicator {
/**
* This makes all "float:right" elements after it that spill over to the next line
* display way below the lower boundary of the column thus hiding them.
diff --git a/slick.grid.css b/slick.grid.css
index 1aeb3af..6a416db 100644
--- a/slick.grid.css
+++ b/slick.grid.css
@@ -48,6 +48,8 @@ classes should alter those!
width: 8px;
height: 5px;
margin-left: 4px;
+ margin-top: 6px;
+ float: left;
}
.slick-sort-indicator-desc {