oasis icon indicating copy to clipboard operation
oasis copied to clipboard

CSS not working

Open christianbundy opened this issue 4 years ago • 5 comments

What's the problem you want solved?

Can't repro, but @bramdroid reported that on current master he followed someone and when the page reloaded the theme.css stopped working. The browser console complained about the mime type and that it refused to sniff it.

Is there a solution you'd like to recommend?

Try to reproduce?

christianbundy avatar Mar 28 '20 00:03 christianbundy

I think I reproduced it?

Screenshot from 2020-03-30 21 18 01

I just ran oasis in the terminal and this happened. No errors in the console, though.

aadilayub avatar Mar 30 '20 16:03 aadilayub

Hmm. Could you try opening the browser console and seeing what the error is? My guess is a MIME-type error on theme.css.

christianbundy avatar Mar 30 '20 16:03 christianbundy

Hmm. Could you try opening the browser console and seeing what the error is? My guess is a MIME-type error on theme.css.

I refreshed and the error went away :(

At the time, the console was empty though.

aadilayub avatar Mar 30 '20 16:03 aadilayub

Okay, new theory: maybe the indexes are behind and theme.css is returning the "we're still indexing" error message instead of the actual CSS. Maybe we should only apply that message to HTML documents rather than the blobs or CSS or anything like that?

christianbundy avatar Mar 30 '20 16:03 christianbundy

Okay, new theory: maybe the indexes are behind and theme.css is returning the "we're still indexing" error message instead of the actual CSS. Maybe we should only apply that message to HTML documents rather than the blobs or CSS or anything like that?

That makes sense, since my indexes were at 99% when this error occurred.

aadilayub avatar Mar 30 '20 18:03 aadilayub