diff options
Diffstat (limited to 'views/default/css/elements/grid.php')
-rw-r--r-- | views/default/css/elements/grid.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/views/default/css/elements/grid.php b/views/default/css/elements/grid.php index f7d23a6f0..04c9a46b5 100644 --- a/views/default/css/elements/grid.php +++ b/views/default/css/elements/grid.php @@ -5,7 +5,8 @@ * @package Elgg.Core * @subpackage UI * - * @todo last column needs to be elgg-body style to absorb subpixel rounding discrepancies + * To work around subpixel rounding discrepancies, apply .elgg-col-last to + * the last column (@todo we need broswer-specific test cases for this). */ ?> /* *************************************** @@ -52,3 +53,18 @@ .elgg-col-5of6 { width: 83.33%; } +.elgg-col-last { + width: auto; + float: none; + display: table-cell; +} +.elgg-col-last:after { + clear: both; + display: block; + visibility: hidden; + overflow: hidden; + height: 0 !important; + line-height: 0; + font-size: xx-large; + content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x "; +}
\ No newline at end of file |