Skip to content

Conversation

@barjin
Copy link
Member

@barjin barjin commented Dec 16, 2025

Fixes font-size-related rendering bugs. Follows https://crawlee.dev/js/api as the original source of visual style.

before after
image image

Closes apify/apify-sdk-js#531


Note

Adjusts fonts, heading sizes, and TypeDoc spacing; adds Lota Grotesque font for headings to fix API reference typography.

  • CSS (apify-docs-theme/src/theme/custom.css):
    • Typography: Set --ifm-heading-font-family to Lota Grotesque; added @font-face for Lota Grotesque.
    • TypeDoc layout: Introduced --tsd-spacing-* variables; tuned .tsd-flag-group margin and .tsd-comment spacing.
    • Headings: Added explicit sizes for .apiItemContainer h2–h5; refined Markdown heading size variables.

Written by Cursor Bugbot for commit 1403943. Configure here.

@barjin barjin requested review from B4nan and jbartadev December 16, 2025 16:21
@barjin barjin self-assigned this Dec 16, 2025
@barjin barjin changed the title chore: fix styles on generated typedoc API reference pages chore: fix styles on typedoc generated API reference pages Dec 16, 2025
Copy link
Member

@B4nan B4nan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, yes please, amazing!

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment @cursor review or bugbot run to trigger another review on this PR

@apify-service-account
Copy link

Preview for this PR was built for commit 1403943 and is ready at https://pr-2148.preview.docs.apify.com!

@barjin barjin merged commit c504407 into master Dec 16, 2025
10 checks passed
@barjin barjin deleted the fix/typedoc-styles branch December 16, 2025 16:40
@apify-service-account
Copy link

Preview for this PR was built for commit 8298bf3 and is ready at https://pr-2148.preview.docs.apify.com!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: fix typography in API docs

4 participants