mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 17:51:35 -05:00
Adjust margins on related-posts to match rest of body
Didn't notice this when writing 4e753395ba
This commit is contained in:
@@ -891,10 +891,14 @@ aside.quote {
|
|||||||
|
|
||||||
/* Related posts section {{{ */
|
/* Related posts section {{{ */
|
||||||
|
|
||||||
|
/* set the margins on the contents instead of the parent .related-posts
|
||||||
|
* so that the posts in the list clip off the edge of the screen,
|
||||||
|
* which makes a more obvious indicator that it's scrollable
|
||||||
|
*/
|
||||||
|
|
||||||
.related-posts > hr,
|
.related-posts > hr,
|
||||||
.related-posts > h1 {
|
.related-posts > h1 {
|
||||||
margin-left: 20px;
|
margin: var(--page-margin);
|
||||||
margin-right: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page {
|
.related-posts .page {
|
||||||
@@ -904,10 +908,10 @@ aside.quote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page:first-child {
|
.related-posts .page:first-child {
|
||||||
margin-left: 20px;
|
margin-left: var(--page-margin);
|
||||||
}
|
}
|
||||||
.related-posts .page:last-child {
|
.related-posts .page:last-child {
|
||||||
margin-right: 20px;
|
margin-right: var(--page-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts .page-list {
|
.related-posts .page-list {
|
||||||
@@ -915,6 +919,7 @@ aside.quote {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
margin-bottom: var(--page-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
Reference in New Issue
Block a user