diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 9543d2d..78166f3 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -21,8 +21,8 @@ layout: layouts/base.njk {%- set nextPost = collections.posts | getNextCollectionItem %} {%- if nextPost or previousPost %} {%- endif %} {%- endif %} diff --git a/public/css/index.css b/public/css/index.css index f7d67c6..9000fe1 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -106,10 +106,19 @@ header:after { } .links-nextprev { - list-style: none; + display: flex; + justify-content: space-between; + gap: .5em 1em; + list-style: ""; border-top: 1px dashed var(--color-gray-20); padding: 1em 0; } +.links-nextprev > * { + flex-grow: 1; +} +.links-nextprev-next { + text-align: right; +} table { margin: 1em 0; @@ -137,6 +146,7 @@ pre:not([class*="language-"]) { white-space: pre; word-spacing: normal; word-break: normal; + overflow-x: auto; } code { word-break: break-all;