update for table scrolling style.

This commit is contained in:
kunw 2016-06-28 11:15:34 +08:00
parent 5422988e11
commit fa28f7cc76
2 changed files with 12 additions and 4 deletions

View File

@ -31,9 +31,13 @@
margin-bottom: 0; margin-bottom: 0;
} }
.table-body-full-width { .table-head-container {
width: 98%;
}
.table-body-container {
overflow-y: auto; overflow-y: auto;
width: 1075px; width: 98%;
} }
.gutter { .gutter {

View File

@ -12,6 +12,7 @@
</div> </div>
<div class="pane-split" id="upon-pane"> <div class="pane-split" id="upon-pane">
<div class="sub-pane-split"> <div class="sub-pane-split">
<div class="table-head-container">
<table class="table table-pane table-header"> <table class="table table-pane table-header">
<thead> <thead>
<th width="10%">// 'name' | tr //</th> <th width="10%">// 'name' | tr //</th>
@ -22,7 +23,8 @@
<th width="15%">// 'actions' | tr //</th> <th width="15%">// 'actions' | tr //</th>
</thead> </thead>
</table> </table>
<div class="table-body-full-width" style="height: 200px;"> </div>
<div class="table-body-container" style="height: 200px;">
<table class="table table-pane"> <table class="table table-pane">
<tbody> <tbody>
<tr ng-if="vm.replicationPolicies.length == 0"> <tr ng-if="vm.replicationPolicies.length == 0">
@ -70,6 +72,7 @@
</div> </div>
<div class="pane-split" id="down-pane"> <div class="pane-split" id="down-pane">
<div class="sub-pane-split"> <div class="sub-pane-split">
<div class="table-head-container">
<table class="table table-pane table-header"> <table class="table table-pane table-header">
<thead> <thead>
<th width="20%">// 'name' | tr //</th> <th width="20%">// 'name' | tr //</th>
@ -80,7 +83,8 @@
<th width="10%">// 'logs' | tr //</th> <th width="10%">// 'logs' | tr //</th>
</thead> </thead>
</table> </table>
<div class="table-body-full-width" style="height: 200px;"> </div>
<div class="table-body-container" style="height: 200px;">
<table class="table table-pane"> <table class="table table-pane">
<tbody> <tbody>
<tr ng-if="vm.replicationJobs.length == 0"> <tr ng-if="vm.replicationJobs.length == 0">