nutritionix / nutrition-label

Create a FDA-style nutrition label with any nutrition data source (even the Nutritionix API - http://www.nutritionix.com/api)
http://www.nutritionix.com/
MIT License
176 stars 66 forks source link

Demos use media='screen' vs media='all' - printing labels from demo doesn't work #96

Closed sdwarwick closed 6 years ago

sdwarwick commented 6 years ago

all of the "demo" files use <link rel='stylesheet' type='text/css' media='screen' href='../nutritionLabel-min.css'> to include the css.

This means that if someone tries to print a label, they only get the unformatted text.

Suggestion is to update all of the demo files to use media='all'

majin22 commented 6 years ago

thanks for this suggestion. i'll add this to my todo list

cc @mattsilv