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
11 changes: 11 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,17 @@ html {
background: var(--docsearch-primary-color);
}

/* ============================================================
API Reference — sidebar collapse animation
Docusaurus calculates collapse transition duration proportional to
content height. With 112 tag groups (~4340px), the default formula
produces ~800ms — noticeably slow. Cap it to match --ifm-transition-fast.
!important is required to override the inline style set by useCollapsible.
============================================================ */
.theme-doc-sidebar-menu .menu__list {
transition-duration: 200ms !important;
}

/* ============================================================
API Reference — HTTP method badges in sidebar
Classes (e.g. "api-method get") come from docusaurus-plugin-openapi-docs
Expand Down
Loading