]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't use 100% sizing for undefined css layouts (#8313)
authorLeif Åstrand <leif@vaadin.com>
Wed, 22 Feb 2012 12:46:23 +0000 (14:46 +0200)
committerLeif Åstrand <leif@vaadin.com>
Wed, 22 Feb 2012 12:46:23 +0000 (14:46 +0200)
WebContent/VAADIN/themes/base/csslayout/csslayout.css

index 108be7accd718fa672aea8c50fa7c949f752bd11..ec0ccc1f8447393e19e714e473cbf0b0eaddcbf4 100644 (file)
@@ -7,6 +7,12 @@
        box-sizing: border-box;
        -moz-box-sizing: border-box;
 }
+.v-undefined-width > .v-csslayout-margin, .v-undefined-width > .v-csslayout-margin > .v-csslayout-container {
+       width: auto;
+}
+.v-undefined-height > .v-csslayout-margin, .v-undefined-height > .v-csslayout-margin > .v-csslayout-container {
+       height: auto;
+}
 .v-csslayout-margin-top {
        padding-top: 12px;      
 }