fix: inverted location logo (#11233)

Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
pull/11223/merge
Peer Richelsen 2023-09-08 16:59:05 +02:00 committed by GitHub
parent 4ef52aa2c6
commit 7e2ad3cea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,10 @@ function RenderIcon({
return ( return (
<img <img
src={eventLocationType.iconUrl} src={eventLocationType.iconUrl}
className="me-[10px] h-4 w-4 opacity-70 invert-[.65] dark:invert-0" className={classNames(
eventLocationType?.iconUrl?.includes("-dark") && "dark:invert",
"me-[10px] h-4 w-4"
)}
alt={`${eventLocationType.label} icon`} alt={`${eventLocationType.label} icon`}
/> />
); );