We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a1b170 + 5f6cf66 commit 4a21178Copy full SHA for 4a21178
src/dataContentPane.js
@@ -153,7 +153,7 @@ export const dataContentPane = {
153
if (
154
UI.utils.ancestor(newTable, 'TABLE') &&
155
UI.utils.ancestor(newTable, 'TABLE').style.backgroundColor ===
156
- 'white'
+ 'white'
157
) {
158
newTable.style.backgroundColor = '#eee'
159
} else {
@@ -198,6 +198,7 @@ export const dataContentPane = {
198
}
199
for (let i = 0; i < roots.length; i++) {
200
const tr = myDocument.createElement('tr')
201
+ tr.setAttribute('style', `background-color: ${i % 2 === 0 ? '#f0f0f0' : 'white'};`)
202
rep.appendChild(tr)
203
const subjectTD = myDocument.createElement('td')
204
tr.appendChild(subjectTD)
0 commit comments