firebase / friendlyeats-web

Apache License 2.0
493 stars 412 forks source link

UI for locally served app (FriendlyEats-web) is not as expected #65

Closed earnestsaunders closed 5 years ago

earnestsaunders commented 5 years ago

friendlyeats_wonkyui_mainscreen friendlyeats_wonkyui_restaurant

Downloaded the repo for the codelab this morning (Feb 22). https://codelabs.developers.google.com/codelabs/firestore-web

All functionality seems ok as I work through the codelab; it's the UI that's not as expected. I've run this codelab several times before, and it's not looked like this.

samtstern commented 5 years ago

@jhuleatt is gonna take look

jhuleatt commented 5 years ago

I'm able to repro this in Chrome if I comment out the line in index.html that imports main.css (this line).

Based on this Stack Overflow answer, it looks like we might be missing type="text/css" when we import the css file. @earnestsaunders can you please try adding type="text/css" to this link tag in your project so that it looks like <link rel="stylesheet" href="/styles/main.css" type="text/css">, and refresh the page to see if that fixes it? If it does, we can update the FriendlyEats source.

earnestsaunders commented 5 years ago

Yep, after a hard-refresh, it worked! Thx :-)