Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Feb 16, 2024
  2. Feb 15, 2024
  3. Feb 14, 2024
  4. Feb 13, 2024
    • adam-james's avatar
      Use font fallbacks in the static-viz js (#38737) · 999aa7be
      adam-james authored
      The trend chart email was rendering incorrectly in gmail on iOS for some reason.
      
      I think it happened because the Lato font was unavailable in the gmail+iOS context and this new
      :javascript_visualization (introduced with trend charts for the static-viz rendering pipeline) specified a font family
      of Lato with no fallbacks. It seems that CSS doesn't inherit font fallbacks from parent elements at all, so even
      though fallbacks were specified further up the tree, they weren't used.
      
      This PR just adds the same fallbacks used elsewhere in static-viz render code.
      Unverified
      999aa7be
Loading