reactjs / reactjs/react.dev

Issue – Brat Generator Text Rendering Problem on GitHub Deployment

未關閉
#8,449 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

type: documentation
主要語言
JavaScript
星號
11.8k
分支
7.9k
平均合併
1 天 11 小時
30 天內合併 PR
11

描述

Summary

It’s also a great tool for experimenting with creativity. You can test different text styles, layouts, and color combinations until you find something that perfectly matches your vibe.

Page

No response

Details

Hello everyone,

I’m currently facing an issue while deploying a brat generator project on GitHub Pages. The application works correctly in the local development environment, but after deployment, some text styles and visual elements are not rendering properly.

Problem Details:
Custom fonts are not loading correctly after deployment
Background colors and text alignment appear different from the local version
Some generated text effects look broken on mobile devices
CSS styles seem inconsistent between browsers
Environment:
Platform: GitHub Pages
Framework: HTML/CSS/JavaScript
Browser Tested: Chrome, Firefox, Safari
Device: Desktop & Mobile
Steps to Reproduce:
Open the deployed brat generator project
Enter text into the generator
Generate the design
Compare the output with the local version
Expected Result:

The deployed version should display the same fonts, layouts, and styles as the local development version.

Possible Causes:
Incorrect asset paths after deployment
Font files not loading properly
Cache issues on GitHub Pages
CSS compatibility problems

If anyone has experienced similar deployment issues with typography generators or GitHub Pages, I’d really appreciate suggestions or solutions. Thanks in advance!

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

報告沒有指出任何儲存庫檔案、測試或已部署的頁面;請先定位 brat generator 專案,並在 Chrome、Firefox 和 Safari 中重現 GitHub Pages 部署。將回報的字型載入、資產路徑、CSS 版面配置和色彩,以及行動裝置上的文字效果與本機版本進行比對檢查。已部署的輸出與本機字型、版面配置、樣式和產生的效果一致時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
css, github, html, javascript
領域
frontend, web-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。