aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/boxlayout/boxlayout.css
diff options
context:
space:
mode:
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;