mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-10 01:11:37 -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 {{{ */
|
||||
|
||||
/* 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 > h1 {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
margin: var(--page-margin);
|
||||
}
|
||||
|
||||
.related-posts .page {
|
||||
@@ -904,10 +908,10 @@ aside.quote {
|
||||
}
|
||||
|
||||
.related-posts .page:first-child {
|
||||
margin-left: 20px;
|
||||
margin-left: var(--page-margin);
|
||||
}
|
||||
.related-posts .page:last-child {
|
||||
margin-right: 20px;
|
||||
margin-right: var(--page-margin);
|
||||
}
|
||||
|
||||
.related-posts .page-list {
|
||||
@@ -915,6 +919,7 @@ aside.quote {
|
||||
flex-direction: row;
|
||||
gap: 20px;
|
||||
overflow-x: auto;
|
||||
margin-bottom: var(--page-margin);
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
Reference in New Issue
Block a user