[PR #5656] docs: fix runtime errors and clean up code #14392

Closed
opened 2026-04-13 09:27:11 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5656

State: closed
Merged: Yes


This PR fixes a runtime error in the UI components that broke the Docs sidebar, so we no longer have to see the error toolbar in the dev server.


Before

https://github.com/user-attachments/assets/81db86f5-0e80-4e04-b557-6baf6c09a09c

After

https://github.com/user-attachments/assets/52d47c94-43a9-4263-b8d7-a985a8d10c11


Summary by cubic

Fixes a runtime error that broke the Docs sidebar and cleans up UI styles in blog and builder pages. Sidebar loads without the dev error overlay, and scroll areas use a consistent no-scrollbar utility.

  • Bug Fixes

    • Switched SVG animation visibility to opacity to prevent runtime errors.
    • Limited StarField width to viewport to stop overflow.
    • Removed highlight.js CSS import from blog changelog component.
  • Refactors

    • Replaced inline scrollbar styles with a no-scrollbar class in Blog layout and Builder.
    • Minor layout cleanup in Changelogs.
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5656 **State:** closed **Merged:** Yes --- This PR fixes a runtime error in the UI components that broke the Docs sidebar, so we no longer have to see the error toolbar in the dev server. --- ### Before https://github.com/user-attachments/assets/81db86f5-0e80-4e04-b557-6baf6c09a09c ### After https://github.com/user-attachments/assets/52d47c94-43a9-4263-b8d7-a985a8d10c11 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixes a runtime error that broke the Docs sidebar and cleans up UI styles in blog and builder pages. Sidebar loads without the dev error overlay, and scroll areas use a consistent no-scrollbar utility. - **Bug Fixes** - Switched SVG animation visibility to opacity to prevent runtime errors. - Limited StarField width to viewport to stop overflow. - Removed highlight.js CSS import from blog changelog component. - **Refactors** - Replaced inline scrollbar styles with a no-scrollbar class in Blog layout and Builder. - Minor layout cleanup in Changelogs. <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:27:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14392