Skip to content

Commit 0928f70

Browse files
committed
Preserve project title casing
1 parent 47ba58b commit 0928f70

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/pages/Project.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function Project() {
3333
<span className="project-breadcrumb-current">{project.slug}</span>
3434
</div>
3535

36-
<h1 className="section-title">{project.title}</h1>
36+
<h1 className="section-title section-title--case-sensitive">{project.title}</h1>
3737

3838
<div className="section-body">
3939
<p className="project-headline">{project.headline}</p>

src/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ p {
210210
letter-spacing: 0.04em;
211211
}
212212

213+
.section-title--case-sensitive {
214+
text-transform: none;
215+
}
216+
213217
.section-body {
214218
background: var(--surface);
215219
padding: 2rem;

0 commit comments

Comments
 (0)