1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 06:45:01 +01:00

Give prev/next buttons 100% width within their container again

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz
2025-05-27 09:54:05 +02:00
parent fe98b2de50
commit c1e37a904c

View File

@@ -20,6 +20,7 @@ export default function PrevNextEditButtons({
<Box flex="0 1 40%" maw="40%">
{currentPage.prev && (
<Button
w="100%"
component={Link}
href={`/docs/${currentPage.prev.slug}/`}
variant="outline"
@@ -78,6 +79,7 @@ export default function PrevNextEditButtons({
<Box flex="0 1 40%" maw="40%" ta="right">
{currentPage.next && (
<Button
w="100%"
component={Link}
href={`/docs/${currentPage.next.slug}/`}
variant="outline"