Skip to content

Commit

Permalink
listing left border style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jan 26, 2015
1 parent 197d84d commit 6ac616e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 0 additions & 9 deletions source/css/LightPivot.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@
background: #FFF7D7;
}

/*.lpt .lpt-topHeader tr:last-child th:hover {*/
/*cursor: pointer;*/
/*background: #FFF7D7;*/
/*}*/

.lpt .lpt-tableBlock {
position: relative;
overflow: auto;
Expand Down Expand Up @@ -224,10 +219,6 @@
content: "\25b2 ";
}

/*.lpt .lpt-leftHeader table {*/
/*margin-bottom: 10em;*/
/*}*/

/* lpt-dataWait */
.lpt .lpt-hoverMessage {
z-index: 999;
Expand Down
6 changes: 4 additions & 2 deletions source/js/PivotView.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,12 +547,14 @@ PivotView.prototype.recalculateSizes = function (container) {
if (cell["__i"] > 5) _["_"]();
});
tr["_extraTr"] = true;
leftHeader.className = leftHeader.className.replace(/\sbordered/, "")
+ " bordered";
cell.colSpan = lTableHead.childNodes.length;
cell.style.height = (this.SCROLLBAR_WIDTH ? this.SCROLLBAR_WIDTH + 1 : 0) + "px";
}

if (hasVerticalScrollBar) {
leftHeader.className = leftHeader.className.replace(/\sbordered/, "") + " bordered";
}

for (i in tableTr.childNodes) {
if (tableTr.childNodes[i].tagName !== "TD") continue;
tableTr.childNodes[i].style.width = cellWidths[i] + "px";
Expand Down

0 comments on commit 6ac616e

Please sign in to comment.