fix: cursor:pointer sur Picto, Popup, Video
parent
db992ab927
commit
a8a3957188
|
@ -17,7 +17,7 @@ export const EmbeddedYoutube = ({
|
||||||
className,
|
className,
|
||||||
style = {},
|
style = {},
|
||||||
}: Props) => (
|
}: Props) => (
|
||||||
<div onClick={onClick}>
|
<div onClick={onClick} style={{ cursor: "pointer" }}>
|
||||||
<iframe
|
<iframe
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
|
|
|
@ -10,6 +10,7 @@ export const Picto = ({ resistant }: Props) => (
|
||||||
<img
|
<img
|
||||||
src={isAncienResistant(resistant) ? pictoFondBlancNbUrl : pictoFondBlancUrl}
|
src={isAncienResistant(resistant) ? pictoFondBlancNbUrl : pictoFondBlancUrl}
|
||||||
alt={resistant.noms}
|
alt={resistant.noms}
|
||||||
|
style={{ cursor: "pointer" }}
|
||||||
height="40px"
|
height="40px"
|
||||||
width="40px"
|
width="40px"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -18,7 +18,7 @@ export const PopupContent = ({ resistant }: { resistant: Resistant }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{ minWidth: "30em", minHeight: "15em" }}
|
style={{ minWidth: "30em", minHeight: "15em", cursor: "pointer" }}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
isHome
|
isHome
|
||||||
? window.location.assign(getResistantPageUrl(resistant))
|
? window.location.assign(getResistantPageUrl(resistant))
|
||||||
|
|
Loading…
Reference in New Issue