[Table] #670 Addressed comments from code review
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div ng-controller="TableController">
|
||||
<div ng-controller="TelemetryTableController">
|
||||
<mct-table
|
||||
headers="headers"
|
||||
rows="rows"
|
||||
|
||||
Reference in New Issue
Block a user