Skip to content

Commit

Permalink
solved the legend issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudLun committed Mar 22, 2024
1 parent 7777359 commit 5a0f9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/map/mapLayer/Legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Legend({ buttonClickHandler, layerName}: Props) {
<div className='text-small lg:text-medium text-black'>Flood prone neighborhood</div>
</div>
<div className='flex items-center gap-3'>
<div className={`w-5 lg:w-[1.63rem] h-5 lg:h-[1.63rem] ${layerName === "Coastal Flooding" ? "bg-secondary_blue" : layerName === "Stormwater Flooding" ? "bg-[#0100FF]" : layerName === "Environmental Justice Areas" ? "bg-[#F7A848]" : "bg-[#2F8890]" }`}></div>
<div className={`w-5 lg:w-[1.63rem] h-5 lg:h-[1.63rem] ${layerName === "Coastal Flooding" ? "bg-secondary_blue" : layerName === "Stormwater Flooding" ? "bg-[#0100FF]" : layerName === "Disadvantaged Communities" ? "bg-[#F7A848]" : "bg-[#2F8890]" }`}></div>
<div className='text-small lg:text-medium text-black'>{layerName}</div>
</div>
</div>
Expand Down

0 comments on commit 5a0f9bc

Please sign in to comment.