[Frontend] Adds overflow scrolling to .l-view-section (#2039)

Fixes #1878
- Add overflow: auto;
- Better naming of $overflow arg;
- Fixed and unit tested in plots and tables;
This commit is contained in:
Charles Hacskaylo 2018-05-18 10:52:24 -07:00 committed by Pegah Sarram
parent fab1def790
commit e19ce4ac8c
3 changed files with 4 additions and 5 deletions

View File

@ -20,8 +20,8 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
@mixin absPosDefault($offset: 0px, $overflowHidden: hidden) {
overflow: $overflowHidden;
@mixin absPosDefault($offset: 0px, $overflow: hidden) {
overflow: $overflow;
position: absolute;
top: $offset;
right: $offset;

View File

@ -5,8 +5,7 @@
}
.l-view-section {
//@include test(orange, 0.1);
@include absPosDefault(0);
@include absPosDefault($overflow: auto);
h2 {
color: #fff;
margin-bottom: $interiorMargin;

View File

@ -5,7 +5,7 @@
Export
</a>
</div>
<div class="l-view-section scrolling" style="overflow: auto;" mct-resize="resize()">
<div class="l-view-section scrolling" mct-resize="resize()">
<table class="sizing-table">
<tbody>
<tr>