Skip to content

Commit

Permalink
collapsed map opens on click anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
lmueller27 committed Jul 12, 2023
1 parent 2dbcf19 commit 127a2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/collapsibleMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function CollapsibleMap({ inputState, setInputState, center, setC
const mapRef = useRef<HTMLDivElement>(null);

return (
<div className={styles.mapGroup}>
<div className={styles.mapGroup} onClick={()=>{mapOpen?null:setMapOpen(!mapOpen)}}>
<button
className={styles.mapToggleButton}
style={mapOpen ? { borderBottomLeftRadius: '0px' } : { borderBottomLeftRadius: '10px' }}
Expand Down

0 comments on commit 127a2fd

Please sign in to comment.