[PR #174] [MERGED] loading fonts with next/font for no layout shift #774

Closed
opened 2026-02-26 18:48:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/174
Author: @doug-andrade
Created: 5/30/2023
Status: Merged
Merged: 5/30/2023
Merged by: @Mythie

Base: mainHead: fonts


📝 Commits (3)

  • 007fe44 loading fonts with next/font
  • 3e94491 fixed next/font load on ALL pages and toast.
  • 307b0cc fixed height on login/signup pages

📊 Changes

4 files changed (+22 additions, -37 deletions)

View changed files

📝 apps/web/components/layout.tsx (+1 -1)
📝 apps/web/pages/_app.tsx (+19 -2)
📝 apps/web/styles/tailwind.css (+0 -32)
📝 apps/web/tailwind.config.js (+2 -2)

📄 Description

Fixes #169

Tested it locally and it builds without issues.

https://nextjs.org/docs/pages/building-your-application/optimizing/fonts#with-tailwind-css


🔄 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/documenso/documenso/pull/174 **Author:** [@doug-andrade](https://github.com/doug-andrade) **Created:** 5/30/2023 **Status:** ✅ Merged **Merged:** 5/30/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fonts` --- ### 📝 Commits (3) - [`007fe44`](https://github.com/documenso/documenso/commit/007fe44db80cc8b7ee39b8c3ad870cf5890ace9e) loading fonts with next/font - [`3e94491`](https://github.com/documenso/documenso/commit/3e944914744c3696d650295beac18a8703d0a846) fixed next/font load on ALL pages and toast. - [`307b0cc`](https://github.com/documenso/documenso/commit/307b0cc9d9cb2b82e18f508868e744d26cf1cf3f) fixed height on login/signup pages ### 📊 Changes **4 files changed** (+22 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/layout.tsx` (+1 -1) 📝 `apps/web/pages/_app.tsx` (+19 -2) 📝 `apps/web/styles/tailwind.css` (+0 -32) 📝 `apps/web/tailwind.config.js` (+2 -2) </details> ### 📄 Description Fixes #169 Tested it locally and it builds without issues. https://nextjs.org/docs/pages/building-your-application/optimizing/fonts#with-tailwind-css --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#774
No description provided.