From: Jouni Koivuviita Date: Mon, 14 Jul 2008 13:39:21 +0000 (+0000) Subject: Fixes #1942: DateField popup button hidden in Tables in editable mode X-Git-Tag: 6.7.0.beta1~4425 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d8ed3f5771d89a4b18575c79696b2a5f597e579e;p=vaadin-framework.git Fixes #1942: DateField popup button hidden in Tables in editable mode svn changeset:5103/svn branch:trunk --- 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; +}