css: fix blockquote margins in tables.

Don't remove the bottom margin from all <p> elements in tables. Instead
remove it only from the last element in dtext blocks. This way we don't
have to also kludge <blockquote> padding to work with zero-margin paragraphs.

Better fix for #1655.
This commit is contained in:
evazion
2019-09-17 00:28:41 -05:00
parent 73a4d675c0
commit 335fc2e872
3 changed files with 5 additions and 8 deletions

View File

@@ -98,6 +98,11 @@ div.prose {
}
}
// avoid empty gaps beneath dtext blocks in table rows.
table td div.prose > *:last-child {
margin-bottom: 0;
}
div.dtext-preview {
display: none;

View File

@@ -1,10 +1,6 @@
@import "../base/000_vars.scss";
table.striped {
p {
margin: 0;
}
td, th {
padding: 4px 6px;
}

View File

@@ -10,10 +10,6 @@ div#c-user-feedbacks, div#c-moderator-dashboards div#col2 {
.feedback-category-neutral {
background: #FFFFFF !important;
}
blockquote {
padding: 0.5em;
}
#negative-policy {
max-width: 50em;