aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@jounikoivuviita.com>2012-04-18 10:51:07 +0300
committerJouni Koivuviita <jouni@jounikoivuviita.com>2012-04-18 10:51:07 +0300
commit6fcbee79a995ad0d481c3906fe5acfa0b6608a1a (patch)
tree3579b2fe3943de630b90431c4fc540d197b4e769 /WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
parenta5f128853ac604983270175b0a5c971f5d951a5d (diff)
downloadvaadin-framework-6fcbee79a995ad0d481c3906fe5acfa0b6608a1a.tar.gz
vaadin-framework-6fcbee79a995ad0d481c3906fe5acfa0b6608a1a.zip
Fixes to BoxLayout based on first round of screenshot tests
Diffstat (limited to 'WebContent/VAADIN/themes/base/boxlayout/boxlayout.css')
-rw-r--r--WebContent/VAADIN/themes/base/boxlayout/boxlayout.css21
1 files changed, 15 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css b/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
index e522989769..0ed0d40888 100644
--- a/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
+++ b/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
@@ -6,14 +6,14 @@ TODO
*/
-.v-boxlayout.v-margin-top {padding-top: 18px;}
-.v-boxlayout.v-margin-right {padding-right: 18px;}
-.v-boxlayout.v-margin-bottom {padding-bottom: 18px;}
-.v-boxlayout.v-margin-left {padding-left: 18px;}
+.v-boxlayout.v-margin-top {padding-top: 12px;}
+.v-boxlayout.v-margin-right {padding-right: 12px;}
+.v-boxlayout.v-margin-bottom {padding-bottom: 12px;}
+.v-boxlayout.v-margin-left {padding-left: 12px;}
.v-spacing {
- width: 7px;
- height: 7px;
+ width: 6px;
+ height: 6px;
}
.v-boxlayout {
@@ -39,6 +39,15 @@ TODO
vertical-align: top;
}
+/* Clear any floats inside the slot, to prevent unwanted collapsing */
+.v-slot:after {
+ content: "";
+ display: block;
+ clear: both;
+ height: 0;
+ overflow: hidden;
+}
+
.v-vertical > .v-slot,
.v-vertical > .v-expand > .v-slot {
display: block;