summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes
diff options
context:
space:
mode:
authorThomas <thomas@vaadin.com>2013-11-07 13:03:52 +0200
committerVaadin Code Review <review@vaadin.com>2013-11-11 09:50:05 +0000
commitc308d8a949095ec49a6933d2d4424d078fb4e210 (patch)
tree31ac7f6206d2bd1f77a3260c19a4088f496a6f60 /WebContent/VAADIN/themes
parent23815e62071d9a80fc4045fb5f1dbede6a0823c2 (diff)
downloadvaadin-framework-c308d8a949095ec49a6933d2d4424d078fb4e210.tar.gz
vaadin-framework-c308d8a949095ec49a6933d2d4424d078fb4e210.zip
Fixes double scrollbar issue in browserframes (#11780)
Fixed by adding font-size 0 to the base theme. Change-Id: I8d0224cb65f8ab36c50d2fd68157de4803c823e2
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r--WebContent/VAADIN/themes/base/base.scss2
-rw-r--r--WebContent/VAADIN/themes/base/browserframe/browserframe.scss7
2 files changed, 9 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/base.scss b/WebContent/VAADIN/themes/base/base.scss
index f22af7670e..c6760e1907 100644
--- a/WebContent/VAADIN/themes/base/base.scss
+++ b/WebContent/VAADIN/themes/base/base.scss
@@ -39,6 +39,7 @@
@import "widget/widget.scss";
@import "window/window.scss";
@import "debug/debug.scss";
+@import "browserframe/browserframe.scss";
.v-vaadin-version:after {
content: "@version@";
@@ -64,6 +65,7 @@ $line-height: normal;
@include base-absolutelayout;
@include base-accordion;
+ @include base-browserframe;
@include base-button;
@include base-nativebutton;
@include base-checkbox;
diff --git a/WebContent/VAADIN/themes/base/browserframe/browserframe.scss b/WebContent/VAADIN/themes/base/browserframe/browserframe.scss
new file mode 100644
index 0000000000..aa4225cf00
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/browserframe/browserframe.scss
@@ -0,0 +1,7 @@
+@mixin base-browserframe {
+
+ /* Removes duplicate scrollbars in some cases */
+ .v-browserframe {
+ font-size: 0;
+ }
+} \ No newline at end of file