mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 09:58:52 +00:00
[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:
parent
fab1def790
commit
e19ce4ac8c
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user