You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're reporting a bug, please continue with this template.
Describe the bug
A clear and concise description of what the bug is.
Minimal Reproducible Example
Provide a minimal code snippet that reproduces the issue. This is crucial for us to understand and fix the bug quickly.
# Your code here
Expected behavior
this line, kwargs["hdrs"] = [*(kwargs.get("hdrs") or []), self.LIVE_RELOAD_HEADER], in live_reload.py is not putting the custom style defined with fast_app() in the header section.
Important Notice
We do not provide support through GitHub issues. For community-based help, please use either:
If you're reporting a bug, please continue with this template.
Describe the bug
A clear and concise description of what the bug is.
Minimal Reproducible Example
Provide a minimal code snippet that reproduces the issue. This is crucial for us to understand and fix the bug quickly.
# Your code here
Expected behavior
this line, kwargs["hdrs"] = [*(kwargs.get("hdrs") or []), self.LIVE_RELOAD_HEADER], in live_reload.py is not putting the custom style defined with fast_app() in the header section.
For example:
css = Style('h2 {color: red;}')
app, rt = fast_app(pico=True,hdrs=(css), live=True)
is putting the CSS as well as the injected reload codes in the body of the page.
Environment Information
Please provide the following version information:
from .core import *
Confirmation
Please confirm the following:
Additional context
Add any other context about the problem here.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: