Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/pages/api.astro
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ const specJson = JSON.stringify(specObject);
--scalar-sidebar-item-active-background: #fafafa;
--scalar-sidebar-item-hover-background: #fafafa;
}
/* Fix sidebar height: Scalar's --scalar-y-offset shifts the
sidebar's top position below the topbar, but doesn't reduce
the sidebar's total height. Without this, the sidebar extends
past the viewport bottom by the topbar height, causing a
slight overscroll at the top and bottom. */
.sidebar {
max-height: calc(100vh - var(--warp-topbar-height)) !important;
}
/* Hide Developer Tools toolbar */
.references-developer-tools,
.api-reference-toolbar { display: none !important; }
Expand Down
Loading