Skip to content

Commit 105686e

Browse files
committed
fix: use text-wrap: pretty for orphan prevention instead of nbsp hack
1 parent 35d7f7d commit 105686e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ strong {
658658
max-width: 800px;
659659
margin: 0 auto var(--spacing-xl);
660660
line-height: 1.7;
661+
text-wrap: pretty;
661662
}
662663

663664
.cta-buttons {

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<h1 class="hero-title">Cloudflare Workers + React Boilerplate</h1>
6868
<p class="hero-subtitle">Everything you need to build a modern website, already set up and ready to go. Best practices baked in, technical decisions already made - you just add your ideas.</p>
6969

70-
<p class="hero-description">This template uses Cloudflare and GitHub - both offer remarkably generous free tiers. Handle thousands of users, store plenty of data, and deploy unlimited updates without spending a cent. Most projects never outgrow these limits. And if yours does? That's a good problem&nbsp;to&nbsp;have.</p>
70+
<p class="hero-description">This template uses Cloudflare and GitHub - both offer remarkably generous free tiers. Handle thousands of users, store plenty of data, and deploy unlimited updates without spending a cent. Most projects never outgrow these limits. And if yours does? That's a good problem to have.</p>
7171

7272
<!-- Step 1: Use Template (Common to both paths) -->
7373
<div class="hero-first-step">

0 commit comments

Comments
 (0)