1
0
Эх сурвалжийг харах

Fix blog post pagination token padding issue (#863)

### 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

 * https://github.com/luizdepra/hugo-coder/issues/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>
Jens Rantil 2 жил өмнө
parent
commit
d815521970

+ 6 - 11
assets/scss/_pagination.scss

@@ -1,4 +1,7 @@
 .pagination {
+  display: flex;
+  justify-content: center;
+
   margin-top: 6rem;
   text-align: center;
   font-family: $font-family;
@@ -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;
-      }
     }
   }
 }

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
resources/_gen/assets/scss/scss/coder.scss_38b4d05915c0483e6cb106e4f0efccbc.content


+ 1 - 1
resources/_gen/assets/scss/scss/coder.scss_38b4d05915c0483e6cb106e4f0efccbc.json

@@ -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="}}

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно