summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-07-09 21:28:37 +0300
committerLeif Åstrand <leif@vaadin.com>2014-07-10 12:35:17 +0300
commitd2e8872bd9fe9a268d71c2162dac64faa8b9288d (patch)
tree7de363eed3a33d7932e37a0f61d2868658f64c6c /WebContent
parentaba7d2b2285865cd86cbdc722732cc0657b44634 (diff)
downloadvaadin-framework-d2e8872bd9fe9a268d71c2162dac64faa8b9288d.tar.gz
vaadin-framework-d2e8872bd9fe9a268d71c2162dac64faa8b9288d.zip
Position sorting indicators correctly in both Chrome and FF (#13334)
Change-Id: Icfbb9c6a4a52db0c55a5244f2dfdb24a86379397
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/grid/grid.scss10
1 files changed, 8 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss
index d1875a7ab3..2955f7ecd3 100644
--- a/WebContent/VAADIN/themes/base/grid/grid.scss
+++ b/WebContent/VAADIN/themes/base/grid/grid.scss
@@ -3,14 +3,20 @@
.#{$primaryStyleName} {
+ th {
+ position: relative;
+ }
+
th.sort-asc:after {
content: "\25B2" attr(sort-order);
- float:right;
+ position: absolute;
+ right: 5px;
}
th.sort-desc:after {
content: "\25BC" attr(sort-order);
- float:right;
+ position: absolute;
+ right: 5px;
}
}