]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #1942: DateField popup button hidden in Tables in editable mode
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 14 Jul 2008 13:39:21 +0000 (13:39 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Mon, 14 Jul 2008 13:39:21 +0000 (13:39 +0000)
svn changeset:5103/svn branch:trunk

WebContent/ITMILL/themes/default/styles.css
WebContent/ITMILL/themes/default/table/table.css

index e08af4c50ec445deee0f46878edee76940969bfb..83d1beeab43d1ba90dcc3477976e49b21d41a845 100644 (file)
@@ -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;
+}
 
 
 
index cbc8f1f3e95a92587624c64231967a0922bd0b49..9b3d2637c9870e15f89e9d89f2f35ab8c1447681 100644 (file)
 }
 
 /* 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;
+}