From d8ed3f5771d89a4b18575c79696b2a5f597e579e Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Mon, 14 Jul 2008 13:39:21 +0000 Subject: [PATCH] Fixes #1942: DateField popup button hidden in Tables in editable mode svn changeset:5103/svn branch:trunk --- WebContent/ITMILL/themes/default/styles.css | 12 +++++++++++- WebContent/ITMILL/themes/default/table/table.css | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index e08af4c50e..83d1beeab4 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -1673,11 +1673,21 @@ i-orderedlayout-margin-top { } /* Fix textfield size to correspond label size inside table */ -.i-table-cell-content .i-textfield { +.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; + margin: 0; +} +/* datefield button is too high for table cell */ +.i-table-cell-content .i-datefield-button { + height: 20px; +} diff --git a/WebContent/ITMILL/themes/default/table/table.css b/WebContent/ITMILL/themes/default/table/table.css index cbc8f1f3e9..9b3d2637c9 100644 --- a/WebContent/ITMILL/themes/default/table/table.css +++ b/WebContent/ITMILL/themes/default/table/table.css @@ -112,11 +112,21 @@ } /* Fix textfield size to correspond label size inside table */ -.i-table-cell-content .i-textfield { +.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; + margin: 0; +} +/* datefield button is too high for table cell */ +.i-table-cell-content .i-datefield-button { + height: 20px; +} -- 2.39.5