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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user