From ac564d08c08bf7b1399e9a38dc1679211cb8fb2c Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Fri, 26 Sep 2008 11:35:34 +0000 Subject: Fixes #2051 (components fit table better) svn changeset:5526/svn branch:trunk --- WebContent/ITMILL/themes/default/styles.css | 11 +++++++---- WebContent/ITMILL/themes/default/table/table.css | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'WebContent') diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index 658d3d7bcb..64e0b0bf6d 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -1747,16 +1747,19 @@ input.i-modified, overflow: hidden; padding: 3px 0 3px 3px; margin-right: 5px; - height: 18px; + line-height: 23px; } /* Fix textfield size to correspond label size inside table */ +.i-table-cell-content input.i-textfield, +.i-table-cell-content .i-button { + margin: -2px 0 -2px -3px; +} .i-table-cell-content .i-textfield, .i-table-cell-content .i-datefield { - height: auto; - margin: -2px 0 -3px -3px; width: 97%; /* approximate */ } + /* ...but not for datefield textarea */ .i-table-cell-content .i-datefield .i-textfield { width: auto; @@ -1764,7 +1767,7 @@ input.i-modified, } /* datefield button is too high for table cell */ .i-table-cell-content .i-datefield-button { - height: 20px; + height: 25px; } diff --git a/WebContent/ITMILL/themes/default/table/table.css b/WebContent/ITMILL/themes/default/table/table.css index 9b3d2637c9..4283fa7ddc 100644 --- a/WebContent/ITMILL/themes/default/table/table.css +++ b/WebContent/ITMILL/themes/default/table/table.css @@ -108,16 +108,19 @@ overflow: hidden; padding: 3px 0 3px 3px; margin-right: 5px; - height: 18px; + line-height: 23px; } /* Fix textfield size to correspond label size inside table */ +.i-table-cell-content input.i-textfield, +.i-table-cell-content .i-button { + margin: -2px 0 -2px -3px; +} .i-table-cell-content .i-textfield, .i-table-cell-content .i-datefield { - height: auto; - margin: -2px 0 -3px -3px; width: 97%; /* approximate */ } + /* ...but not for datefield textarea */ .i-table-cell-content .i-datefield .i-textfield { width: auto; @@ -125,7 +128,7 @@ } /* datefield button is too high for table cell */ .i-table-cell-content .i-datefield-button { - height: 20px; + height: 25px; } -- cgit v1.2.3