Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
www
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
www
Commits
f42d96d0
Commit
f42d96d0
authored
Nov 01, 2026
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
blog: card dates bottom-align on wrapped titles; title wrap prefers no orphans
parent
70c854e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
blog.module.css
app/blog/blog.module.css
+3
-1
page.js
app/blog/page.js
+1
-1
No files found.
app/blog/blog.module.css
View file @
f42d96d0
...
@@ -121,7 +121,9 @@
...
@@ -121,7 +121,9 @@
font-weight
:
800
;
font-weight
:
800
;
line-height
:
1.12
;
line-height
:
1.12
;
letter-spacing
:
-0.02rem
;
letter-spacing
:
-0.02rem
;
text-wrap
:
balance
;
/* balance evens multi-line titles, but it strands "(here" after a paren on
phone widths — pretty avoids the orphan even if lines go uneven. */
text-wrap
:
pretty
;
}
}
/* Belt and suspenders for long titles: balance (above) makes any wrap even,
/* Belt and suspenders for long titles: balance (above) makes any wrap even,
...
...
app/blog/page.js
View file @
f42d96d0
...
@@ -33,7 +33,7 @@ export default function Blog() {
...
@@ -33,7 +33,7 @@ export default function Blog() {
href
=
{
`/blog/
${
slug
}
`
}
href
=
{
`/blog/
${
slug
}
`
}
className
=
"block rounded-xl border p-4 leading-relaxed transition-colors border-[var(--border)] bg-[var(--surface)] hover:bg-[var(--surface-raised)]"
className
=
"block rounded-xl border p-4 leading-relaxed transition-colors border-[var(--border)] bg-[var(--surface)] hover:bg-[var(--surface-raised)]"
>
>
<
span
className
=
"flex items-
baseline
justify-between gap-3"
>
<
span
className
=
"flex items-
end
justify-between gap-3"
>
<
span
className
=
"font-medium text-[var(--text-primary)] text-balance"
>
<
span
className
=
"font-medium text-[var(--text-primary)] text-balance"
>
{
title
}
{
title
}
<
/span
>
<
/span
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment