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:
@@ -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;
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
table.striped {
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
td, th {
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user