Skip to content

Commit cee97b7

Browse files
committed
fix branch name wrapping
Signed-off-by: sallyom <[email protected]>
1 parent 6d97fd5 commit cee97b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/frontend/src/app/projects/[name]/sessions/[sessionName]/components/accordions/repositories-accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function RepositoriesAccordion({
139139
<div className="flex items-center gap-2 flex-wrap">
140140
<div className="text-sm font-medium truncate">{repoName}</div>
141141
{currentBranch && (
142-
<Badge variant="outline" className="text-xs px-1.5 py-0.5 max-w-full break-words whitespace-normal bg-blue-50 dark:bg-blue-950 border-blue-200 dark:border-blue-800">
142+
<Badge variant="outline" className="text-xs px-1.5 py-0.5 max-w-full !whitespace-normal !overflow-visible break-words bg-blue-50 dark:bg-blue-950 border-blue-200 dark:border-blue-800">
143143
{currentBranch}
144144
</Badge>
145145
)}

components/frontend/src/app/projects/[name]/sessions/[sessionName]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ export default function ProjectSessionDetailPage({
17171717
{opt.name}
17181718
</span>
17191719
{branchName && (
1720-
<Badge variant="outline" className="text-xs px-1.5 py-0.5 max-w-full break-words whitespace-normal bg-blue-50 dark:bg-blue-950 border-blue-200 dark:border-blue-800">
1720+
<Badge variant="outline" className="text-xs px-1.5 py-0.5 max-w-full !whitespace-normal !overflow-visible break-words bg-blue-50 dark:bg-blue-950 border-blue-200 dark:border-blue-800">
17211721
{branchName}
17221722
</Badge>
17231723
)}

0 commit comments

Comments
 (0)