Skip to content

Commit 10cda3c

Browse files
entensesserrata
authored andcommitted
fix col row padding footer&pagination (#810)
Signed-off-by: Alex Ivanov <[email protected]>
1 parent cbca95e commit 10cda3c

File tree

1 file changed

+8
-4
lines changed
  • packages/docusaurus-theme-openapi-docs/src/theme/ApiItem/Layout

1 file changed

+8
-4
lines changed

packages/docusaurus-theme-openapi-docs/src/theme/ApiItem/Layout/index.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,16 @@ export default function DocItemLayout({ children }: Props): JSX.Element {
6565
<DocVersionBadge />
6666
{docTOC.mobile}
6767
<DocItemContent>{children}</DocItemContent>
68-
<div className={clsx("col", api ? "col--7" : "col--12")}>
69-
<DocItemFooter />
68+
<div className="row">
69+
<div className={clsx("col", api ? "col--7" : "col--12")}>
70+
<DocItemFooter />
71+
</div>
7072
</div>
7173
</article>
72-
<div className={clsx("col", api ? "col--7" : "col--12")}>
73-
<DocItemPaginator />
74+
<div className="row">
75+
<div className={clsx("col", api ? "col--7" : "col--12")}>
76+
<DocItemPaginator />
77+
</div>
7478
</div>
7579
</div>
7680
</div>

0 commit comments

Comments
 (0)