Skip to content

Fix title displacing dot in dotfiles#434

Merged
amadeus merged 1 commit intopierrecomputer:mainfrom
jonatanklosko:jk-dotfiles
Mar 27, 2026
Merged

Fix title displacing dot in dotfiles#434
amadeus merged 1 commit intopierrecomputer:mainfrom
jonatanklosko:jk-dotfiles

Conversation

@jonatanklosko
Copy link
Copy Markdown
Contributor

Currently the header title has rtl style:

[data-header-content] [data-prev-name],
[data-header-content] [data-title] {
direction: rtl;

However, for files like .gitignore, since the dot is as the word boundary, it displaces it to the end of the word:

image

This fixes it by wrapping the file name in <bdi> tag:

image

The ellipsis still appears properly on the left:

image

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

@jonatanklosko is attempting to deploy a commit to the Pierre Computer Company Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Mar 27, 2026 1:26am
pierrejs-docs Ready Ready Preview Mar 27, 2026 1:26am

Request Review

@amadeus amadeus merged commit 75db2f5 into pierrecomputer:main Mar 27, 2026
8 checks passed
@amadeus
Copy link
Copy Markdown
Member

amadeus commented Mar 27, 2026

Sick! Nice catch and fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants