From 72b63f0b4527754ad5c3b756874d6a567809e06c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 20 Aug 2014 12:33:42 +0000 Subject: [PATCH] right aligned columns need to be padded right, not left --- pixelegg/css/pixelegg.css | 3 +++ pixelegg/less/layout_table.less | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index ef6b34cab6..45492627b2 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -5772,6 +5772,9 @@ table.egwGridView_grid tbody td table.customfields tbody tr td { table.egwGridView_grid tbody td table.customfields tbody tr td .et2_textbox_ro { /*white-space: inherit;*/ } +table.egwGridView_grid tbody td[align="right"] { + padding: 3px 5px 3px 0; +} table.egwGridView_grid > tr { border-bottom: 1px solid; border-color: #828282; diff --git a/pixelegg/less/layout_table.less b/pixelegg/less/layout_table.less index 6ff70687b1..3cffc37e92 100755 --- a/pixelegg/less/layout_table.less +++ b/pixelegg/less/layout_table.less @@ -268,6 +268,10 @@ table.egwGridView_grid{ } + // right aligned columns need to be padded right, not left + td[align="right"] { + padding: 3px 5px 3px 0; + } }