diff --git a/src/rendered/components/Project/hooks/usePulls/usePulls.styles.ts b/src/rendered/components/Project/hooks/usePulls/usePulls.styles.ts index b2284ab..ac87b0c 100644 --- a/src/rendered/components/Project/hooks/usePulls/usePulls.styles.ts +++ b/src/rendered/components/Project/hooks/usePulls/usePulls.styles.ts @@ -9,6 +9,7 @@ export const Empty = styled.div` `; export const Title = styled.div` + opacity: 0; position: absolute; top: -10px; left: 15px; @@ -64,6 +65,10 @@ export const WrapBlock = styled.div` ${Actions} { opacity: 1; } + + ${Title} { + opacity: 1; + } } @media (prefers-color-scheme: dark) { diff --git a/src/rendered/components/Project/hooks/usePulls/usePulls.tsx b/src/rendered/components/Project/hooks/usePulls/usePulls.tsx index 11d1e42..c475409 100644 --- a/src/rendered/components/Project/hooks/usePulls/usePulls.tsx +++ b/src/rendered/components/Project/hooks/usePulls/usePulls.tsx @@ -83,7 +83,7 @@ export const usePulls = (project: Project) => { ))} - <span>Pull requests ({pullType})</span> + <span>Pull requests ({aliases[pullType]})</span>