fix: improve long project name rendering (#2258)

This commit is contained in:
Nishant Chhillar 2026-05-22 13:49:06 +05:30 committed by GitHub
parent 45c77fac41
commit f183f937c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -3559,6 +3559,7 @@ export function ProjectView({
<span
className="title editable"
data-testid="project-title"
title={project.name}
tabIndex={0}
role="textbox"
suppressContentEditableWarning

View file

@ -1203,6 +1203,7 @@ code {
min-width: 0;
max-width: 100%;
overflow: hidden;
padding-left: 1px;
}
.app-project-title .title {
color: var(--text-strong);
@ -14698,7 +14699,7 @@ button.ghost.mcp-copy-btn:hover:not(:disabled) {
outline: none;
border-radius: 4px;
padding: 1px 4px;
margin: -1px -4px;
margin: 0px;
max-width: min(100%, 420px);
}
.topbar-title .title.editable:focus,