mirror of
https://github.com/discourse/discourse.git
synced 2025-04-03 05:39:41 +08:00
remove orphaned blockquote sizing
This commit is contained in:
parent
d2cf921791
commit
f8f79b9388
app/assets/stylesheets
@ -115,11 +115,6 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
|
||||||
/* 13px left is intentional here to properly align with post quotes */
|
|
||||||
padding: 10px 4px 4px 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.topic-statuses {
|
.topic-statuses {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 3px 0 0;
|
margin: 0 3px 0 0;
|
||||||
|
@ -665,7 +665,7 @@ iframe {
|
|||||||
|
|
||||||
/* solo quotes */
|
/* solo quotes */
|
||||||
blockquote {
|
blockquote {
|
||||||
/* inherit only the default top and bottom margins here */
|
/* leave browser defaults for top and bottom here */
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
@ -675,10 +675,10 @@ blockquote {
|
|||||||
// we assume blockquotes have their own margins, so all blockquotes
|
// we assume blockquotes have their own margins, so all blockquotes
|
||||||
// will remove margins from first (top) and last (bottom) child elements
|
// will remove margins from first (top) and last (bottom) child elements
|
||||||
blockquote > *:first-child {
|
blockquote > *:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
blockquote > *:last-child {
|
blockquote > *:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -482,10 +482,10 @@ blockquote {
|
|||||||
// we assume blockquotes have their own margins, so all blockquotes
|
// we assume blockquotes have their own margins, so all blockquotes
|
||||||
// will remove margins from first (top) and last (bottom) child elements
|
// will remove margins from first (top) and last (bottom) child elements
|
||||||
blockquote > *:first-child {
|
blockquote > *:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
blockquote > *:last-child {
|
blockquote > *:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote-controls {
|
.quote-controls {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user