Skip to content

Commit e28a5af

Browse files
committed
feat: filetree: add nowrap to filetree list items
1 parent 2a83862 commit e28a5af

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/component/repo/fileaction.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ export const FileAction = ({branch, default_branch, echange, repo, owner, head}:
5252
/>
5353
<HoverCard>
5454
<HoverCardTarget>
55-
<a>{head.message}</a>
55+
<a style={{
56+
whiteSpace: "nowrap"
57+
}}>{head.message}</a>
5658
</HoverCardTarget>
5759
<HoverCardDropdown>
5860
<div>

src/style/filetree.css

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
gap: 2rem;
2121
flex-direction: row-reverse;
2222
margin-right: 2rem;
23+
white-space: nowrap;
2324
.cmt {
2425
background: white;
2526
color: black;

0 commit comments

Comments
 (0)