-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Does bluescreen.js really need to disable all other stylesheets? #533
Comments
I decided to add the |
I guess it would be possible to change the behavior and use the same CSS reset as is used for the Debug bar. |
I'm happy enough now, so maybe if it's not broke, then don't fix it? As I mentioned elsewhere, I actually have to modify your CSS resets anyway because they were breaking ACE's CSS so I am worried if you do more on that front, I might need to make more hacks. |
All right, I'm not changing it. ad ACE: Hmm, I see there's a problem with width:initial for divs… |
Sorry, where are you seeing that issue? Have you been playing around with adding ACE to a panel? The main thing I do is change That change isn't ideal either, but at least it prevents the resets from affecting the panels. |
Yes. Problem is in specificity. ACE declares I thought I could reduce the specificity by using a custom |
Just wanted to say a big thanks for this change - it's now much easier to style panels without hacking the core CSS files. |
…isabling stylesheets [Closes nette#533]
…isabling stylesheets [Closes nette#533]
…isabling stylesheets [Closes nette#533]
I have ace-editor embedded into a panel and when code creates an exception that results in the display of the bluescreen, it loops through all stylesheets and disables them. If I disable this block of code:
tracy/src/Tracy/BlueScreen/assets/bluescreen.js
Lines 11 to 18 in f652fae
all the styles I need for ace-editor remain intact.
I guess you're trying to make sure there are no styles that might mess with the look of the bluescreen, but it feels a bit too aggressive.
I know that it ignores
<style class="tracy-debug">
but because ace-editor comes as a package I don't want to hack that to add the class.Are there any other solutions that might work rather than disabling all other stylesheets?
Thanks.
The text was updated successfully, but these errors were encountered: