[PR #5650] [MERGED] docs: delete leading and trailing whitespaces in className strings #23040

Closed
opened 2026-04-15 21:26:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5650
Author: @JeffreyLind3
Created: 10/28/2025
Status: Merged
Merged: 10/28/2025
Merged by: @himself65

Base: canaryHead: fix/whitespace-before-tailwind-classname


📝 Commits (3)

  • 74ecf9c fix: delete leading/trailing whitespaces in className Strings
  • 60c5c8f fix deleted import
  • a86edb3 fix import order

📊 Changes

12 files changed (+14 additions, -14 deletions)

View changed files

📝 demo/expo/src/components/ui/button.tsx (+1 -1)
📝 demo/nextjs/app/dashboard/organization-card.tsx (+2 -2)
📝 demo/nextjs/app/dashboard/user-card.tsx (+1 -1)
📝 demo/nextjs/app/features.tsx (+1 -1)
📝 demo/nextjs/app/page.tsx (+1 -1)
📝 demo/nextjs/components/one-tap.tsx (+1 -1)
📝 docs/app/changelogs/[[...slug]]/page.tsx (+1 -1)
📝 docs/app/page.tsx (+2 -2)
📝 docs/components/builder/beam.tsx (+1 -1)
📝 docs/components/landing/testimonials.tsx (+1 -1)
📝 docs/components/nav-bar.tsx (+1 -1)
📝 docs/components/ui/background-beams.tsx (+1 -1)

📄 Description

Various parts of the codebase had code like className=" px-1" instead of className="px-1". This PR fixes many of these instances


Summary by cubic

Removed leading and trailing whitespace in className strings across demo and docs components to clean up Tailwind classes and keep styles consistent. No functional or UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5650 **Author:** [@JeffreyLind3](https://github.com/JeffreyLind3) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 10/28/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/whitespace-before-tailwind-classname` --- ### 📝 Commits (3) - [`74ecf9c`](https://github.com/better-auth/better-auth/commit/74ecf9c0e2779ec11b675f90444f90724cc492dd) fix: delete leading/trailing whitespaces in className Strings - [`60c5c8f`](https://github.com/better-auth/better-auth/commit/60c5c8f10ba805201206f932fdf19dd7be73d30c) fix deleted import - [`a86edb3`](https://github.com/better-auth/better-auth/commit/a86edb337f4c250aaa0ec64485f5c910e7072796) fix import order ### 📊 Changes **12 files changed** (+14 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `demo/expo/src/components/ui/button.tsx` (+1 -1) 📝 `demo/nextjs/app/dashboard/organization-card.tsx` (+2 -2) 📝 `demo/nextjs/app/dashboard/user-card.tsx` (+1 -1) 📝 `demo/nextjs/app/features.tsx` (+1 -1) 📝 `demo/nextjs/app/page.tsx` (+1 -1) 📝 `demo/nextjs/components/one-tap.tsx` (+1 -1) 📝 `docs/app/changelogs/[[...slug]]/page.tsx` (+1 -1) 📝 `docs/app/page.tsx` (+2 -2) 📝 `docs/components/builder/beam.tsx` (+1 -1) 📝 `docs/components/landing/testimonials.tsx` (+1 -1) 📝 `docs/components/nav-bar.tsx` (+1 -1) 📝 `docs/components/ui/background-beams.tsx` (+1 -1) </details> ### 📄 Description Various parts of the codebase had code like `className=" px-1"` instead of `className="px-1"`. This PR fixes many of these instances <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removed leading and trailing whitespace in className strings across demo and docs components to clean up Tailwind classes and keep styles consistent. No functional or UI changes. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 21:26:25 -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#23040