Skip to content

Commit 6ac616e

Browse files
listing left border style fix
1 parent 197d84d commit 6ac616e

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

source/css/LightPivot.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@
141141
background: #FFF7D7;
142142
}
143143

144-
/*.lpt .lpt-topHeader tr:last-child th:hover {*/
145-
/*cursor: pointer;*/
146-
/*background: #FFF7D7;*/
147-
/*}*/
148-
149144
.lpt .lpt-tableBlock {
150145
position: relative;
151146
overflow: auto;
@@ -224,10 +219,6 @@
224219
content: "\25b2 ";
225220
}
226221

227-
/*.lpt .lpt-leftHeader table {*/
228-
/*margin-bottom: 10em;*/
229-
/*}*/
230-
231222
/* lpt-dataWait */
232223
.lpt .lpt-hoverMessage {
233224
z-index: 999;

source/js/PivotView.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,12 +547,14 @@ PivotView.prototype.recalculateSizes = function (container) {
547547
if (cell["__i"] > 5) _["_"]();
548548
});
549549
tr["_extraTr"] = true;
550-
leftHeader.className = leftHeader.className.replace(/\sbordered/, "")
551-
+ " bordered";
552550
cell.colSpan = lTableHead.childNodes.length;
553551
cell.style.height = (this.SCROLLBAR_WIDTH ? this.SCROLLBAR_WIDTH + 1 : 0) + "px";
554552
}
555553

554+
if (hasVerticalScrollBar) {
555+
leftHeader.className = leftHeader.className.replace(/\sbordered/, "") + " bordered";
556+
}
557+
556558
for (i in tableTr.childNodes) {
557559
if (tableTr.childNodes[i].tagName !== "TD") continue;
558560
tableTr.childNodes[i].style.width = cellWidths[i] + "px";

0 commit comments

Comments
 (0)