aboutsummaryrefslogtreecommitdiffstats
path: root/themes/src/main
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-04-17 11:31:01 +0300
committerVaadin Code Review <review@vaadin.com>2016-04-28 15:18:45 +0000
commit0b0495b6d87b3c623b38643ff1ce27abf5a30d5c (patch)
treed0c0b29753148eac0b7c1d473d10bf8d1235ed99 /themes/src/main
parentab30dfe29d12e57d7c00c12cf2edc9328cb47a65 (diff)
downloadvaadin-framework-0b0495b6d87b3c623b38643ff1ce27abf5a30d5c.tar.gz
vaadin-framework-0b0495b6d87b3c623b38643ff1ce27abf5a30d5c.zip
Restrict grid sidebar size to visible viewport (#19349)
Change-Id: I75b7c662251de53b46e045d17d3cac650586acd2
Diffstat (limited to 'themes/src/main')
-rw-r--r--themes/src/main/themes/VAADIN/themes/base/grid/grid.scss2
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss2
2 files changed, 4 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/base/grid/grid.scss b/themes/src/main/themes/VAADIN/themes/base/grid/grid.scss
index 3e7b708557..983463381b 100644
--- a/themes/src/main/themes/VAADIN/themes/base/grid/grid.scss
+++ b/themes/src/main/themes/VAADIN/themes/base/grid/grid.scss
@@ -158,6 +158,8 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co
.#{$primaryStyleName}-sidebar-content {
padding: 4px 0;
+ overflow-y: auto;
+ overflow-x: hidden;
.gwt-MenuBar {
.gwt-MenuItem .column-hiding-toggle {
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss
index 4a0715b2d2..1552c9591b 100644
--- a/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss
+++ b/themes/src/main/themes/VAADIN/themes/valo/components/_grid.scss
@@ -228,6 +228,8 @@ $v-grid-details-border-bottom-stripe: $v-grid-cell-horizontal-border !default;
.#{$primary-stylename}-sidebar-content {
margin: 0 0 2px;
padding: 4px 4px 2px;
+ overflow-y: auto;
+ overflow-x: hidden;
}
}