File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export function ExperienceTile({
20
20
responsibilities,
21
21
} : ExperienceTileProps ) {
22
22
const isTablet = useMediaQuery ( '(min-width: 768px)' ) ;
23
+ const isDesktop = useMediaQuery ( '(min-width: 1280px)' ) ;
23
24
return (
24
25
< div
25
26
className = {
@@ -31,13 +32,13 @@ export function ExperienceTile({
31
32
< div className = "group relative flex-grow lg:-ml-[132px] xl:-ml-40 2xl:-ml-52" >
32
33
{ isTablet && (
33
34
< div className = "opacity-0 transition-opacity delay-100 md:group-hover:opacity-100" >
34
- < div className = "absolute top-1/2 aspect-square -translate-y-1/2 transform rounded-lg bg-white " >
35
+ < div className = "absolute top-1/2 aspect-square -translate-y-1/2 transform rounded-lg bg-transparent " >
35
36
{ /* // center the bullet : `top-1/2 transform -translate-y-1/2` */ }
36
37
< img
37
38
src = { companyLogo }
38
39
alt = { `${ companyName } logo` }
39
- width = { 80 }
40
- height = { 80 }
40
+ width = { isDesktop ? 80 : 70 }
41
+ height = { isDesktop ? 80 : 70 }
41
42
className = "rounded-md"
42
43
/>
43
44
</ div >
You can’t perform that action at this time.
0 commit comments