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

Abierto
#3,272 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
perl
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Perl
Estrellas
164
Forks
167
Merge medio
6 d 7 h
PR fusionados (30 d)
27

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openwebwork/webwork2

Todos los issues de openwebwork/webwork2

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.