[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

New submission from Alex <alexprengere@gmail.com>: Now that the docs are mobile-friendly (nice!), I noticed that the code snippets are not using a monospace font (at least on my Android 10 + Chrome 92 device). This misaligns the carets of the improved errors messages, for example on the "what's new": https://docs.python.org/3.10/whatsnew/3.10.html I attached an example on how this renders on my device. ---------- assignee: docs@python components: Documentation files: E7EuL0KWQAI19nx.jpg messages: 398533 nosy: alexprengere, docs@python priority: normal severity: normal status: open title: Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages versions: Python 3.10, Python 3.11 Added file: https://bugs.python.org/file50191/E7EuL0KWQAI19nx.jpg _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue44776> _______________________________________

Alex <alexprengere@gmail.com> added the comment: It looks this is already being tracked at: https://github.com/python/pythondotorg/issues/1708 ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue44776> _______________________________________

Terry J. Reedy <tjreedy@udel.edu> added the comment: Wrong tracker. Not 3rd party, but not a bug in the doc .rst files or cpython code files. ---------- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue44776> _______________________________________
participants (2)
-
Alex
-
Terry J. Reedy