[Table] #670 Addressed comments from code review

This commit is contained in:
Henry
2016-03-02 21:40:56 -08:00
parent b9a7ee423a
commit 55e00baeaf
7 changed files with 61 additions and 79 deletions

View File

@@ -1,13 +1,10 @@
<div class="l-view-section scrolling"
ng-style="overrideRowPositioning ?
{'overflow': 'auto'} :
{'overflow': 'scroll'}
"
style="overflow: auto;"
>
<table class="filterable" ng-style="overrideRowPositioning && {
<table class="filterable"
ng-style="overrideRowPositioning && {
height: totalHeight + 'px',
'table-layout': overrideRowPositioning ? 'fixed' : 'auto',
'box-sizing': 'border-box'
'table-layout': overrideRowPositioning ? 'fixed' : 'auto'
}">
<thead>
<tr>
@@ -52,7 +49,7 @@
<td ng-repeat="header in displayHeaders"
ng-style="overrideRowPositioning && {
width: columnWidths[$index] + 'px',
'white-space': 'nowrap',
'max-width': columnWidths[$index] + 'px',
overflow: 'hidden',
'box-sizing': 'border-box'

View File

@@ -1,4 +1,4 @@
<div ng-controller="TableController">
<div ng-controller="TelemetryTableController">
<mct-table
headers="headers"
rows="rows"