mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-131204: Fix difflib.HtmlDiff
may not use monospaced font (#131221)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
3d797e49c8
commit
7fd61607cd
3 changed files with 3 additions and 2 deletions
|
@ -1633,7 +1633,7 @@ _file_template = """
|
|||
|
||||
_styles = """
|
||||
:root {color-scheme: light dark}
|
||||
table.diff {font-family:Courier; border:medium;}
|
||||
table.diff {font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; border:medium}
|
||||
.diff_header {background-color:#e0e0e0}
|
||||
td.diff_header {text-align:right}
|
||||
.diff_next {background-color:#c0c0c0}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue