]> source.dussan.org Git - vaadin-framework.git/commitdiff
New attempt at getting full width (#8313)
authorLeif Åstrand <leif@vaadin.com>
Tue, 21 Feb 2012 13:58:59 +0000 (15:58 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 21 Feb 2012 13:58:59 +0000 (15:58 +0200)
WebContent/VAADIN/themes/reindeer/datefield/datefield.css

index ef0d1b90501c676d25d63bb7d5b8d900b57541aa..2dab322f50760b35f6e8ccf9325a52188ffd3b7f 100644 (file)
@@ -226,7 +226,10 @@ td.v-datefield-calendarpanel-nextyear {
        background: rgba(255,255,255,.95);
 }
 .v-datefield-textfield {
-       display: block; /* Fill full width */
+       width: 100%;
+}
+.v-datefield-textfield.v-undefined-width {
+       width: auto;
 }
 .v-datefield-year.v-undefined-width > .v-datefield-textfield {
        width: 4em;