Skip to content
Snippets Groups Projects
Commit f3e33f6c authored by Jonathan Cooper's avatar Jonathan Cooper
Browse files

fixed leaflet custom control opacity problem that only occurs during build, so...

fixed leaflet custom control opacity problem that only occurs during build, so not detected during dev
parent b6ba1501
Branches
Tags 0.1.5
No related merge requests found
Pipeline #21434 passed with warnings
......@@ -4,7 +4,7 @@ import { Heading } from 'react-bulma-components'
export default function Legend(props) {
function getData(legendData) {
return legendData.map((swatch, index) => <div className='swatch' key={`swatch-${index}`}><div className='swatch-color' style={{backgroundColor: swatch['col']}}></div><div className='swatch-value'>{swatch['val']}</div></div>)
return legendData.map((swatch, index) => <div className='swatch' key={`swatch-${index}`}><div className='swatch-color' style={{backgroundColor: swatch['col']}}></div><div className='swatch-value'>{swatch['val']}</div></div>)
}
return (
......
......@@ -4,4 +4,4 @@
.custom-control
padding: 10px
background-color: rgb(255,255,255)
opacity: 100%
opacity: 1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment