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

Make each question's CSS preamble specific to that question #1066

Closed
christianp opened this issue Nov 24, 2023 · 0 comments
Closed

Make each question's CSS preamble specific to that question #1066

christianp opened this issue Nov 24, 2023 · 0 comments
Labels
Confirmed Bug Difficult! Issues that will take a long time to implement, or involve big breaking changes

Comments

@christianp
Copy link
Member

At the moment, to stop different questions' preambles conflicting with each other, only the current question's preamble is inserted into the page.
This doesn't work when you have several questions visible, such as when printing.

We could try parsing the preamble CSS and prepending the question's ID to each selector.

@christianp christianp added Difficult! Issues that will take a long time to implement, or involve big breaking changes Confirmed Bug labels Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Bug Difficult! Issues that will take a long time to implement, or involve big breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant