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 {
|
div.dtext-preview {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
@import "../base/000_vars.scss";
|
@import "../base/000_vars.scss";
|
||||||
|
|
||||||
table.striped {
|
table.striped {
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
td, th {
|
td, th {
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,10 +10,6 @@ div#c-user-feedbacks, div#c-moderator-dashboards div#col2 {
|
|||||||
.feedback-category-neutral {
|
.feedback-category-neutral {
|
||||||
background: #FFFFFF !important;
|
background: #FFFFFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
|
||||||
padding: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#negative-policy {
|
#negative-policy {
|
||||||
max-width: 50em;
|
max-width: 50em;
|
||||||
|
|||||||
Reference in New Issue
Block a user