openoakland / woeip

A platform for impacted communities to understand their local air quality and advocate for environmental justice.
https://woaq.org
MIT License
29 stars 16 forks source link

443 production datepicker styles #453

Closed gsehrlich closed 2 years ago

gsehrlich commented 2 years ago

Checklist

Description

Issue: #443

Brief description of solution

  1. Fix the opacity by switching from percentages to decimals. The development version didn't have this issue for some reason. https://stackoverflow.com/questions/58853844/the-opacity-value-was-changed-to-1-after-building-the-reacjs-project
  2. The ordering issue was caused by semantic-ui-react-datepickers styles that were duplicated in a <style> tag in the production build for some reason, overriding the CSS. Put a div selector before the class in the CSS to give it higher specificity.