-
Notifications
You must be signed in to change notification settings - Fork 815
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
CSS errors have a broken path #3569
Comments
Much like the Another alternative is to tweak |
My preference would be for the panel title to be something like:
|
Works for me. Bonus points if you can figure out how to point to the line in the Python file, rather than relative to the CSS. But don't spend too much time on that. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
CSS errors will create an invalid path to the CSS, if the CSS is in code. This is because it adds the widget name to the path.
Here's an example:
If you click the heading it should take you to the file containing the error, but it doesn't because the path is invalid.
It would be nice to display the widget within the title, but it should probably be a separate field.
The text was updated successfully, but these errors were encountered: