File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export const NotificationRow: React.FC<IProps> = ({
67
67
] ) ;
68
68
69
69
return (
70
- < div className = "flex space-x-3 py-2 px-3 bg-white dark:bg-gray-dark dark:text-white hover:bg-gray-100 dark:hover:bg-gray-darker border-b border-gray-100 dark:border-gray-darker" >
70
+ < div className = "flex space-x-3 py-2 px-3 bg-white dark:bg-gray-dark dark:text-white hover:bg-gray-100 dark:hover:bg-gray-darker border-b border-gray-100 dark:border-gray-darker group " >
71
71
< div
72
72
className = { `flex justify-center items-center w-5 ${ realIconColor } ` }
73
73
title = { notificationTitle }
@@ -90,7 +90,7 @@ export const NotificationRow: React.FC<IProps> = ({
90
90
</ div >
91
91
</ div >
92
92
93
- < div className = "flex justify-center items-center gap-2" >
93
+ < div className = "flex justify-center items-center gap-2 opacity-0 group-hover:opacity-80 transition-opacity " >
94
94
< button
95
95
className = "focus:outline-none h-full hover:text-green-500"
96
96
title = "Mark as Done"
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ export const RepositoryNotifications: React.FC<IProps> = ({
40
40
41
41
return (
42
42
< >
43
- < div className = "flex py-2 px-3 bg-gray-100 dark:bg-gray-darker dark:text-white" >
43
+ < div className = "flex py-2 px-3 bg-gray-100 dark:bg-gray-darker dark:text-white group " >
44
44
< div className = "flex flex-1 space-x-3 items-center mt-0 text-sm font-medium overflow-hidden overflow-ellipsis whitespace-nowrap" >
45
45
< img className = "rounded w-5 h-5" src = { avatarUrl } />
46
46
< span onClick = { openBrowser } > { repoName } </ span >
47
47
</ div >
48
48
49
- < div className = "flex justify-center items-center gap-2" >
49
+ < div className = "flex justify-center items-center gap-2 opacity-0 group-hover:opacity-80 transition-opacity " >
50
50
< button
51
51
className = "focus:outline-none h-full hover:text-green-500"
52
52
title = "Mark Repository as Done"
Original file line number Diff line number Diff line change 2
2
3
3
exports [` components/Notification.js should render itself & its children 1` ] = `
4
4
<div
5
- className = " flex space-x-3 py-2 px-3 bg-white dark:bg-gray-dark dark:text-white hover:bg-gray-100 dark:hover:bg-gray-darker border-b border-gray-100 dark:border-gray-darker"
5
+ className = " flex space-x-3 py-2 px-3 bg-white dark:bg-gray-dark dark:text-white hover:bg-gray-100 dark:hover:bg-gray-darker border-b border-gray-100 dark:border-gray-darker group "
6
6
>
7
7
<div
8
8
className = " flex justify-center items-center w-5 text-green-500"
@@ -59,7 +59,7 @@ exports[`components/Notification.js should render itself & its children 1`] = `
59
59
</div >
60
60
</div >
61
61
<div
62
- className = " flex justify-center items-center gap-2"
62
+ className = " flex justify-center items-center gap-2 opacity-0 group-hover:opacity-80 transition-opacity "
63
63
>
64
64
<button
65
65
className = " focus:outline-none h-full hover:text-green-500"
Original file line number Diff line number Diff line change 3
3
exports [` components/Repository.tsx should render itself & its children 1` ] = `
4
4
[
5
5
<div
6
- className = " flex py-2 px-3 bg-gray-100 dark:bg-gray-darker dark:text-white"
6
+ className = " flex py-2 px-3 bg-gray-100 dark:bg-gray-darker dark:text-white group "
7
7
>
8
8
<div
9
9
className = " flex flex-1 space-x-3 items-center mt-0 text-sm font-medium overflow-hidden overflow-ellipsis whitespace-nowrap"
@@ -19,7 +19,7 @@ exports[`components/Repository.tsx should render itself & its children 1`] = `
19
19
</span >
20
20
</div >
21
21
<div
22
- className = " flex justify-center items-center gap-2"
22
+ className = " flex justify-center items-center gap-2 opacity-0 group-hover:opacity-80 transition-opacity "
23
23
>
24
24
<button
25
25
className = " focus:outline-none h-full hover:text-green-500"
You can’t perform that action at this time.
0 commit comments