| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
It's a good improvement, and this is what it looks like now
I before thought about this, but the table width is determined based on the length of the content and the code specified, like cpython/Lib/test/test_difflib.py Line 227 in 1288aa1 '<h2>tabsize=2</h2>',
j.make_table(f2,t2),
'<h2>tabsize=default</h2>',
If we center the table, there will be a lot of space on both sides of the screen, and it may not be as easy to distinguish as if the table is narrow. So I didn't do that, and my opinion is also to keep the left alignment the way :) |
Sorry, something went wrong.
Head branch was pushed to by a user without write access
…on#134581) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…on#134581) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
…on#134581) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Improved the styling of HTML diff pages generated by the difflib.HtmlDiff` class, and migrated the output to the HTML5 standard.
And all browser warnings have been eliminated.
details see: #134580
Request review @hugovk thanks!
Screenshot:
Details Before:After:

Before:

After:

📚 Documentation preview 📚: https://cpython-previews--134581.org.readthedocs.build/