fix(classic-challenge): should not show scroll bar if not needed (#13981)

This commit is contained in:
Berkeley Martinez
2017-03-21 22:06:58 -07:00
committed by Quincy Larson
parent b7173c29ce
commit 8dd66b5084

View File

@ -5,13 +5,13 @@
.max-element-height(up-to) { .max-element-height(up-to) {
max-height: e(%('calc(100vh - %s)', @navbar-total-height)); max-height: e(%('calc(100vh - %s)', @navbar-total-height));
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: auto;
} }
.max-element-height(always) { .max-element-height(always) {
height: e(%('calc(100vh - %s)', @navbar-total-height)); height: e(%('calc(100vh - %s)', @navbar-total-height));
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: auto;
} }
.@{ns}-instructions-panel { .@{ns}-instructions-panel {