Skip to content

Commit 5514eec

Browse files
committed
Tweak pagination and code block title styles
1 parent b289f72 commit 5514eec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/Pagination.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const { prevLink, prevText, nextLink, nextText } = Astro.props
1717
<a
1818
href={prevLink}
1919
aria-label="Previous Page"
20-
class="button flex-row items-center justify-center !pl-3.5 w-full sm:w-min"
20+
class="button flex-row items-center justify-center w-full sm:w-min"
2121
>
2222
<Icon name="chevrons-left" class="mr-2 text-xl" />
2323
{prevText || 'Previous'}
@@ -30,7 +30,7 @@ const { prevLink, prevText, nextLink, nextText } = Astro.props
3030
href={nextLink}
3131
aria-label="Next Page"
3232
class:list={[
33-
'button flex-row items-center justify-center !pr-3.5 w-full sm:w-min',
33+
'button flex-row items-center justify-center w-full sm:w-min',
3434
prevLink && 'ml-auto',
3535
]}
3636
>

src/styles/global.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ article img {
125125

126126
&.has-title,
127127
&.is-terminal {
128+
span.title {
129+
@apply !px-15;
130+
}
128131
--button-spacing: 30px !important;
129132
}
130133

0 commit comments

Comments
 (0)