minor scrollbar fixes

Hide page scrollbar when rendering using phantomjs.
Hide baron scrollbar when rendering using phantomjs.
This commit is contained in:
Marcus Efraimsson 2018-04-11 20:12:32 +02:00
parent db83255460
commit cdcaaa5d03
No known key found for this signature in database
GPG Key ID: EBFE0FB04612DD4A
2 changed files with 12 additions and 0 deletions

View File

@ -276,6 +276,11 @@
opacity: 0.9;
}
// fix for phantomjs
.body--phantomjs .baron__track .baron__bar {
opacity: 0 !important;
}
.baron__control {
display: none;
}

View File

@ -34,6 +34,13 @@
}
}
// fix for phantomjs
.body--phantomjs {
.scroll-canvas {
overflow: hidden;
}
}
.page-body {
padding-top: $spacer*2;
min-height: 500px;