diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-21 13:37:05 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-21 13:37:05 +0200 |
commit | 1324d7b519186fced47cc637cc7298a8fbe7a88e (patch) | |
tree | 2b13ce3c617ec6980daa5b9d6a26a56543705dc3 /WebContent/VAADIN/themes | |
parent | 92259e400df5157ea2ca88db1eb9a5e27eea1cd5 (diff) | |
download | vaadin-framework-1324d7b519186fced47cc637cc7298a8fbe7a88e.tar.gz vaadin-framework-1324d7b519186fced47cc637cc7298a8fbe7a88e.zip |
Ensure AbsoluteLayout wrappers have the rigth size (#8313)
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r-- | WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css index b2c2ed2858..fba94a8edc 100644 --- a/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css +++ b/WebContent/VAADIN/themes/base/absolutelayout/absolutelayout.css @@ -1,4 +1,14 @@ .v-absolutelayout-wrapper { position: absolute; overflow: hidden; -}
\ No newline at end of file +} +.v-absolutelayout-margin, .v-absolutelayout-canvas { + box-sizing: border-box; + -moz-box-sizing: border-box; +} +.v-absolutelayout.v-has-height > div, .v-absolutelayout.v-has-height > div > div { + height: 100%; +} +.v-absolutelayout.v-has-width > div, .v-absolutelayout.v-has-width > div > div { + width: 100%; +} |