Skip to content

Commit 6537dbd

Browse files
authored
feat: Improve pulls UI (#107)
1 parent bf9024d commit 6537dbd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/rendered/components/Project/hooks/usePulls/usePulls.styles.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const Empty = styled.div`
99
`;
1010

1111
export const Title = styled.div`
12+
opacity: 0;
1213
position: absolute;
1314
top: -10px;
1415
left: 15px;
@@ -64,6 +65,10 @@ export const WrapBlock = styled.div`
6465
${Actions} {
6566
opacity: 1;
6667
}
68+
69+
${Title} {
70+
opacity: 1;
71+
}
6772
}
6873
6974
@media (prefers-color-scheme: dark) {

src/rendered/components/Project/hooks/usePulls/usePulls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const usePulls = (project: Project) => {
8383
))}
8484

8585
<Title>
86-
<span>Pull requests ({pullType})</span>
86+
<span>Pull requests ({aliases[pullType]})</span>
8787
</Title>
8888

8989
<Actions>

0 commit comments

Comments
 (0)