Disable editable inputs in poll's read-only mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user