Skip to content

Commit 0b6296c

Browse files
committed
added bg-color to test viewport items
1 parent bdb0a58 commit 0b6296c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/scaffolding.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function createHtml(settings) {
1111
var extra = settings.extra || '';
1212
return '<div ui-scroll-viewport' + viewportStyle + '>' +
1313
(settings.wrapper ? settings.wrapper.start : '') +
14-
'<div ui-scroll="item in ' + settings.datasource + '"' +
14+
'<div class="item" ui-scroll="item in ' + settings.datasource + '"' +
1515
adapter +
1616
itemStyle + bufferSize + padding + isLoading + topVisible + disabled + extra + '>' +
1717
template +

test/test.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.col0 { width: 40px; }
33
.col1 { width: 80px; }
44
.col2 { width: 40px; }
5-
.col3 { width: 50px; }
5+
.col3 { width: 50px; }
6+
.item:nth-child(odd) { background-color: #e6e6e6; }

0 commit comments

Comments
 (0)