-
-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIME type error for rise.css #597
Comments
A bit more detail. The name of my notebook is I have created both
In the javascript console, when I start the slideshow by clicking the RISE button, I am seeing
The styles are NOT applied. In the notebook logs, I am not seeing any 404s or other relevant messages. If I remove the two css files, I see the following in the notebook logs.
This is confusing because the javascript errors seems to be the same regardless of whether the files are actually there or not. |
Final note, and perhaps the key... If I point my browser to
|
@rabernat, I was not able to reproduce, so... some further questions:
|
I am actually running the whole thing inside a docker container like this:
|
93.0.4577.63 |
OK, you replied with that docker command 😉
I suspect the issue might be related to the fact that jupyterlab is using the new jupyter-server whereas the jupyter notebook is still on the old one... Can you try your docker command with Btw, I tried to use the pangeo image you referenced but it is not working for me with the command you shared... |
Sorry, it was missing a I tried using
|
@rabernat, I tried the following command (pretty similar to your command, but without the volume stuff because I was getting weird permission issues):
Uploaded your (base) Damians-MacBook-Pro:intro_to_physical_oceanography damian$ git diff book/rise.css
diff --git a/book/rise.css b/book/rise.css
index f60fb3f..cdcda54 100644
--- a/book/rise.css
+++ b/book/rise.css
@@ -29,4 +29,8 @@
.reveal ul {
display: block;
+}
+
+div.cell.code_cell.rendered, div.input_area {
+ border-width: 10px;
} And I can see the border... even with the error message: Btw, on OSX and Chrome as well. Could it be the case that your changes in the For instance, I see the following in your .reveal img.float-right {
float: right;
} and I think (and successfully tested) you may want to use this one?: .reveal img {
float: right;
} |
Ok thanks for the tip. I thought I had convinced myself that it was not working, but I will try again with these suggestions. I appreciate your patience. |
Sure, happy to help!! |
I am trying to use rise.css custom CSS file to style my slideshow. In my javascript console, I'm seeing the error message:
I am using notebook v6.4.4. To reproduce, just create any slideshow and add a
rise.css
file in the notebook directory.I'm not sure which layer of the stack this error is from. But as encouraged by @damianavila I am reporting it here.
p.s. I'm on Mac-OS with Google Chrome in case it makes a difference.
The text was updated successfully, but these errors were encountered: