Hide background for grid sub-questions responses

This commit is contained in:
David Benqué 2021-09-07 10:58:27 +01:00
parent 77d3f037cd
commit 3722d260d0
2 changed files with 16 additions and 4 deletions

View File

@ -735,9 +735,21 @@
}
.cp-charts {
.cp-bar-container {
.cp-bar {
background-color: @cryptpad_color_link;
.cp-charts-row {
.cp-grid-sub-question {
background: transparent;
}
.cp-value {
min-width: 200px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cp-bar-container {
.cp-bar {
background-color: fade(@cryptpad_color_link, 75%);
}
}
}
}

View File

@ -895,7 +895,7 @@ define([
};
var multiAnswerSubHeading = function (content) {
return h('span.cp-charts-row', h('td.cp-charts-cell', {
return h('span.cp-charts-row', h('td.cp-charts-cell.cp-grid-sub-question', {
colspan: 3,
style: 'font-weight: bold;',
}, content));