summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-02-22 14:46:23 +0200
committerLeif Åstrand <leif@vaadin.com>2012-02-22 14:46:23 +0200
commit34ba5f44bbd7271f5798f7f5671756c71f8abd71 (patch)
tree0bfcc18324530b7494e89481ad917485c3fbafb2 /WebContent/VAADIN/themes/base
parent712a7f9d3b2a5b22a2b33017a3c959e6faa33973 (diff)
downloadvaadin-framework-34ba5f44bbd7271f5798f7f5671756c71f8abd71.tar.gz
vaadin-framework-34ba5f44bbd7271f5798f7f5671756c71f8abd71.zip
Don't use 100% sizing for undefined css layouts (#8313)
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r--WebContent/VAADIN/themes/base/csslayout/csslayout.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/csslayout/csslayout.css b/WebContent/VAADIN/themes/base/csslayout/csslayout.css
index 108be7accd..ec0ccc1f84 100644
--- a/WebContent/VAADIN/themes/base/csslayout/csslayout.css
+++ b/WebContent/VAADIN/themes/base/csslayout/csslayout.css
@@ -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;
}