Skip to content

Commit

Permalink
Map layer border (#1138)
Browse files Browse the repository at this point in the history
* ADD: border for selected map layer
  • Loading branch information
aimeekang authored May 24, 2024
1 parent dda12ac commit a7da92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/maps/MapLayersSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MapLayersSelector: React.FC<Props> = ({ emit }) => {
<div className='px-1.5' key={key} onClick={() => emitMap(key)}>
<span className='grid grid-cols-1 justify-items-center'>
<img
className='w-12 h-12 md:w-16 md:h-16 rounded col-span-1 shadow border-[1px] border-base-300'
className={`w-12 h-12 md:w-16 md:h-16 rounded col-span-1 shadow border-base-300 ${mapKey === mapName ? 'border-2' : ''}`}
src={imgUrl}
alt='Currently selected maptiler layer'
/>
Expand Down

0 comments on commit a7da92c

Please sign in to comment.