Skip to content

Commit

Permalink
chore: change spacing on post meta [#2978]
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Jul 26, 2021
1 parent abb6175 commit a5b9a45
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
4 changes: 0 additions & 4 deletions assets/scss/components/elements/blog/_blogpost-covers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,4 @@ $overlay: rgba(0, 0, 0, 0.75);
color: var(--color, #fff);
}
}

.entry-title {
margin-bottom: 20px;
}
}
25 changes: 16 additions & 9 deletions assets/scss/components/elements/blog/_blogpost-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
}

.blog-entry-title {
margin-bottom: $spacing-xs;
word-wrap: break-word;
}

Expand Down Expand Up @@ -65,15 +66,17 @@
margin-bottom: 0;
}

.layout-grid .content > * {
margin: $spacing-xs 0;

&:last-child {
margin-bottom: 0;
.layout-grid .content {
> .blog-entry-title {
margin-bottom: $spacing-xs;
}

&:first-child {
margin-top: 0;
> * {
margin-bottom: $spacing-md;

&:last-child {
margin-bottom: 0;
}
}
}

Expand All @@ -85,8 +88,12 @@
flex-direction: column;
flex-grow: 1;

> .blog-entry-title {
margin-bottom: $spacing-xs;
}

> * {
margin: 0 0 $spacing-md;
margin-bottom: $spacing-md;

&:last-child {
margin-bottom: 0;
Expand All @@ -106,7 +113,7 @@ body:not(.nv-blog-default) {
margin-right: calc(-1 * var(--gridSpacing, 30px) / 2);

article {
margin-bottom: calc(var(--gridSpacing, 30px) );
margin-bottom: calc(var(--gridSpacing, 30px));
padding: 0 calc(var(--gridSpacing, 30px) / 2);
}
}
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/components/elements/blog/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
margin-top: $spacing-aired;
}

.entry-header .title, .page .title, .nv-page-title {
margin-bottom: $spacing-xl;
.entry-header .title {
margin-bottom: $spacing-xs;
}

.attachment-neve-blog {
Expand Down

0 comments on commit a5b9a45

Please sign in to comment.