Skip to content
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

After restart browser, the loaded css with HTML become text #7181

Open
CnBDM-Su opened this issue Dec 11, 2023 · 0 comments
Open

After restart browser, the loaded css with HTML become text #7181

CnBDM-Su opened this issue Dec 11, 2023 · 0 comments

Comments

@CnBDM-Su
Copy link

CnBDM-Su commented Dec 11, 2023

Problem

I am using IPython HTML to load css to jupyter lab.
It works well if I keep the browser alive. However, after the kernel is end and the browser get refreshed. There will show the original css text like: "<style> .left-label { width: 30%; } </style>"

Proposed Solution

I can totally understand the css will be lost after end the kernel. But is there any way to remove all this text if the kernel died. It is very ugly, especially when i use ipython.event.register. In each frame, there will be the original css text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants