From 57393cbba53218de08016c99bd76b9bb1553da31 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Thu, 8 May 2008 08:26:48 +0000 Subject: Table editmode: textfield height now the same as plain string height -> switching between modes preserves scroll position. Table column spacing increased for legibility. svn changeset:4385/svn branch:trunk --- WebContent/ITMILL/themes/default/table/table.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'WebContent') diff --git a/WebContent/ITMILL/themes/default/table/table.css b/WebContent/ITMILL/themes/default/table/table.css index 1a56c6c992..cc94d4ed6b 100644 --- a/WebContent/ITMILL/themes/default/table/table.css +++ b/WebContent/ITMILL/themes/default/table/table.css @@ -101,12 +101,20 @@ } .i-table-row td, .i-table-row-odd td { - padding: 3px 0; + padding: 0; } .i-table-cell-content { white-space: nowrap; overflow: hidden; - padding-left: 3px; + padding: 3px 5px 3px 3px; + height: 18px; +} + +/* Fix textfield size to correspond label size in */ +.i-table-cell-content .i-textfield { + height: auto; + margin: -2px 0 -3px -3px; + width: 97%; /* approximate */ } -- cgit v1.2.3