Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 1, 2025

Tor browser's stricter CSS handling caused multiple choice rows to superimpose and the trace stepper to render incorrectly. The root cause was flexbox layouts not behaving consistently.

Changes

CSS (common.css)

  • Added high-specificity rules to force block display on list items, overriding Bootstrap's flexbox

Multiple choice (exercise.html)

  • Removed d-flex class causing overlap
  • Added explicit w-100 d-block to form labels

Trace stepper (stepper.html)

  • Changed #statecontainer from flex to block layout
  • Added explicit dimensions to .stepper-container
  • Added overflow-x: auto to mermaid diagrams
/* High specificity to override Bootstrap flexbox */
ul.list-group > li.list-group-item {
    display: block;
    position: relative;
    clear: both;
}

Layout after fix

Original prompt

This section details on the original issue you should resolve

<issue_title>Rendering issues on the TOR browser</issue_title>
<issue_description>Tutor does not render well on the Tor browser.

  • Some of the multiple choice sections did not render correctly: two of the rows were superimposed.
  • Also the trace stepper didn't render correctly.

Issue identified by: CAV 2025 Reviewer A.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…onents

Co-authored-by: sidprasad <6439400+sidprasad@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix rendering issues on the Tor browser Fix Tor browser rendering issues for multiple choice and trace stepper Dec 1, 2025
Copilot AI requested a review from sidprasad December 1, 2025 13:07
Copilot finished work on behalf of sidprasad December 1, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rendering issues on the TOR browser

2 participants