Skip to content

Commit 9fad9e7

Browse files
authored
[Docs Site] Move pagination buttons above footer links (#19682)
* [Docs Site] Move pagination buttons above footer links * add !important
1 parent 5e3dd56 commit 9fad9e7

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/components/overrides/Footer.astro

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ if (
129129
<FeedbackPrompt client:idle />
130130
</div>
131131
<Default {...Astro.props} />
132-
<div id="footer-links" class="flex flex-wrap items-center">
132+
<div id="footer-links" class="mt-6 flex flex-wrap items-center space-x-4">
133133
{Object.entries(links).map(([text, href]) => (
134-
<a href={href} class="mx-2 my-2 text-xs text-black decoration-accent">
134+
<a href={href} class="text-xs text-black decoration-accent">
135135
<span>{text}</span>
136136
</a>
137137
))}
138138
{isProduction && (
139-
<div class="mx-2 my-2 text-xs text-black [&>button]:underline [&>button]:decoration-accent">
139+
<div class="text-xs text-black [&>button]:underline [&>button]:decoration-accent">
140140
<OneTrust />
141141
</div>
142142
)}
@@ -146,6 +146,18 @@ if (
146146
}
147147

148148
<style>
149+
:global(footer) {
150+
flex-direction: column-reverse !important;
151+
}
152+
153+
:global(.meta) {
154+
margin-top: 0 !important;
155+
}
156+
157+
:global(.pagination-links) {
158+
margin-top: 3rem !important;
159+
}
160+
149161
.feedback-prompt {
150162
h2 {
151163
color: var(--sl-color-white);

0 commit comments

Comments
 (0)