]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed 5px gaps between vertical layout slots (Firefox/Opera) after doctype was change...
authorJouni Koivuviita <jouni@vaadin.com>
Fri, 7 Sep 2012 11:52:10 +0000 (14:52 +0300)
committerJouni Koivuviita <jouni@vaadin.com>
Fri, 7 Sep 2012 11:52:10 +0000 (14:52 +0300)
WebContent/VAADIN/themes/base/base.scss
WebContent/VAADIN/themes/base/styles.scss
WebContent/VAADIN/themes/base/widget/widget.scss [new file with mode: 0644]

index 915da192260c7f56df75d479ffdf03e29a9c2fc4..dae1d0eef3ecebad419bfc95829a196599a50e66 100644 (file)
@@ -18,7 +18,6 @@
 @import "menubar/menubar.scss";
 @import "notification/notification.scss";
 @import "orderedlayout/orderedlayout.scss";
-@import "paintable/paintable.scss";
 @import "panel/panel.scss";
 @import "popupview/popupview.scss";
 @import "progressindicator/progressindicator.scss";
@@ -32,4 +31,5 @@
 @import "tree/tree.scss";
 @import "treetable/treetable.scss";
 @import "upload/upload.scss";
+@import "widget/widget.scss";
 @import "window/window.scss";
index ed37d3cc800fa6b8b156653b29ce72bed66458de..7ca27280bc55d8886efd9d59198d0660a5bb5687 100644 (file)
@@ -5,7 +5,7 @@
 // everything included from base theme
 // other themes should enclose corresponding definitions in theme selectors
 
-@include base-paintable;
+@include base-widget;
 
 @include base-absolutelayout;
 @include base-accordion;
diff --git a/WebContent/VAADIN/themes/base/widget/widget.scss b/WebContent/VAADIN/themes/base/widget/widget.scss
new file mode 100644 (file)
index 0000000..215c276
--- /dev/null
@@ -0,0 +1,13 @@
+@mixin base-widget {
+
+.v-widget {
+       -webkit-box-sizing: border-box;
+       -moz-box-sizing: border-box;
+       box-sizing: border-box;
+       text-align: left;
+       display: inline-block;
+       white-space: normal;
+       vertical-align: top;
+}
+
+}
\ No newline at end of file