Fix table rendering in polls description

pull/1/head
yflory 6 years ago
parent 1c5847dd01
commit c4c1fcb080

@ -1,6 +1,7 @@
@import (reference) '../../customize/src/less2/include/tools.less'; @import (reference) '../../customize/src/less2/include/tools.less';
@import (reference) '../../customize/src/less2/include/avatar.less'; @import (reference) '../../customize/src/less2/include/avatar.less';
@import (reference) "../../customize/src/less2/include/framework.less"; @import (reference) "../../customize/src/less2/include/framework.less";
@import (reference) "../../customize/src/less2/include/markdown.less";
&.cp-app-poll { &.cp-app-poll {
@ -212,10 +213,10 @@
// from cryptpad.less // from cryptpad.less
#cp-app-poll-table-container {
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
margin: 20px;
} }
tbody { tbody {
* { * {
@ -236,6 +237,7 @@
} }
} }
} }
}
div.cp-app-poll-realtime { div.cp-app-poll-realtime {
display: block; display: block;
@ -256,6 +258,7 @@
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
#cp-app-poll-table-container {
.cp-app-poll-table-scrolled { .cp-app-poll-table-scrolled {
tr td:last-child { tr td:last-child {
right: 0; right: 0;
@ -555,6 +558,7 @@
display: none; display: none;
} }
} }
}
#cp-app-poll-nocomments { #cp-app-poll-nocomments {
color: #999; color: #999;
text-align: center; text-align: center;

@ -351,7 +351,9 @@
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.markdown_main();
.markdown_preformatted-code; .markdown_preformatted-code;
.markdown_gfm-table(#ddd);
ul, ol { ul, ol {
min-width: 50%; min-width: 50%;

Loading…
Cancel
Save