Skip to content

Commit

Permalink
Fix blog post pagination token padding issue (#863)
Browse files Browse the repository at this point in the history
### Prerequisites

Put an `x` into the box(es) that apply:

- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

It fixes lack of padding for the pagination tokens when listing blog
posts. Please review the PR commit by commit.

### Issues Resolved

 * #837

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively - see commit messages.
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [x] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already

---------

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
  • Loading branch information
JensRantil and luizdepra committed Nov 29, 2023
1 parent 8e3aed5 commit d815521
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
17 changes: 6 additions & 11 deletions assets/scss/_pagination.scss
@@ -1,4 +1,7 @@
.pagination {
display: flex;
justify-content: center;

margin-top: 6rem;
text-align: center;
font-family: $font-family;
Expand All @@ -8,20 +11,12 @@
text-align: center;
font-weight: 700;

span {
margin: 0;
text-align: center;
width: 3.2rem;
}
margin: 0;
text-align: center;
width: 2.2rem;

a {
font-weight: 300;

span {
margin: 0;
text-align: center;
width: 3.2rem;
}
}
}
}

Large diffs are not rendered by default.

@@ -1 +1 @@
{"Target":"css/coder.min.135e22c97ff685fe983fc60048e309ced8f00d8d38f536aa67dba8a13a03dfa4.css","MediaType":"text/css","Data":{"Integrity":"sha256-E14iyX/2hf6YP8YASOMJztjwDY049TaqZ9uooToD36Q="}}
{"Target":"css/coder.min.04425292518cf42d45abd44b0394c3033dc5d1b5b7f2ee6226284123ea4f98c7.css","MediaType":"text/css","Data":{"Integrity":"sha256-BEJSklGM9C1Fq9RLA5TDAz3F0bW38u5iJihBI+pPmMc="}}

0 comments on commit d815521

Please sign in to comment.