Mathjax displayOverflow: 'linebreak' does not work well with show correct answer popover.

Aperta
#3,272 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
perl
Ambito
frontend

Direzione di ricerca

The issue identifies the correct answer popover and the MathJax displayOverflow setting, but does not name the relevant files or tests. Start by tracing where the popover is rendered and how that setting is applied there; compare its behavior with a problem body. Done means formulas in the popover display without the reported narrow wrapping while the problem body behavior remains usable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I have noticed that some of my more complicated answer keys do not display well with the displayOverflow: 'linebreak' setting. I think this setting works fine in a problem body, but not for the correct answer popover. Is there a way to disable this option just for those?

Here is what I see by default for a correct answer popover:

Image

If I make displayOverflow: 'overflow' I get the following:

Image

Unsure what solution is needed to keep these popovers from being too narrow causing strange line wrapping of formulas.

Lingua principale
Perl
Stelle
164
Fork
167
Merge medio
6g 7h
PR unite (30g)
27

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwebwork/webwork2

Tutte le issue di openwebwork/webwork2

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.