Skip to content

Commit 9a3c26e

Browse files
committed
fix sidebar height
1 parent f43676a commit 9a3c26e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

apps/portal/src/app/reference/ScalarClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { ApiReferenceReact } from "@scalar/api-reference-react";
44
import "@scalar/api-reference-react/style.css";
5-
import "./scaler-app.css";
5+
import "./scalar.css";
66
import { useTheme } from "next-themes";
77
import { useEffect } from "react";
88

apps/portal/src/app/reference/scaler-app.css renamed to apps/portal/src/app/reference/scalar.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
position: sticky;
1010
top: var(--sticky-top-height);
1111
}
12+
13+
.scalar-app .references-navigation-list {
14+
height: calc(100vh - var(--sticky-top-height));
15+
}

0 commit comments

Comments
 (0)