aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2008-05-08 08:26:48 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2008-05-08 08:26:48 +0000
commit57393cbba53218de08016c99bd76b9bb1553da31 (patch)
treec94faa39e46dbe5c1bbf48fb1829f1f188fd4190 /WebContent
parentaa84281a8147589d1c3687d764084c816f96e3c1 (diff)
downloadvaadin-framework-57393cbba53218de08016c99bd76b9bb1553da31.tar.gz
vaadin-framework-57393cbba53218de08016c99bd76b9bb1553da31.zip
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
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/ITMILL/themes/default/table/table.css12
1 files changed, 10 insertions, 2 deletions
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 */
}