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

Đang mở
#3,272 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
perl
Lĩnh vực
frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Perl
Star
164
Fork
167
Merge trung bình
6 ngày 7 giờ
Pull request đã merge (30 ngày)
27

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openwebwork/webwork2

Tất cả issue của openwebwork/webwork2

Issue tương tự

Thêm issue về Perl

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.