Disable editable inputs in poll's read-only mode

This commit is contained in:
yflory
2017-12-20 15:46:44 +01:00
parent edc236e17b
commit f7d30318cc
2 changed files with 33 additions and 29 deletions

View File

@@ -58,12 +58,24 @@ overflow-x: hidden;
flex: 1;
overflow-y: auto;
&.cp-app-poll-published {
#cp-app-poll-table-scroll {
max-width: ~"calc(75% - 30px - 100px)";
}
table {
width: 100%;
}
table tr td:last-child {
margin-left: 0; // uncommitted is hidden
}
#cp-app-poll-create-option {
display: none;
}
.cp-app-poll-table-remove[data-rt-id^="y"], .cp-app-poll-table-edit[data-rt-id^="y"] {
display: none;
}
td.cp-app-poll-table-uncommitted {
display: none;
}
tr.cp-app-poll-table-uncommitted {
display: none;
}