mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Make the redundent portion of the lower navigation area disappear from the
printed version for browsers that support "@media print" in CSS.
This commit is contained in:
parent
1e3bdf6c45
commit
859c46a1fd
2 changed files with 13 additions and 3 deletions
|
@ -227,14 +227,16 @@ sub get_version_text() {
|
|||
|
||||
|
||||
sub top_navigation_panel() {
|
||||
return "\n"
|
||||
return "\n<div id='top-navigation-panel'>\n"
|
||||
. make_nav_panel()
|
||||
. "<br /><hr />\n";
|
||||
. "<br /><hr /></div>\n";
|
||||
}
|
||||
|
||||
sub bot_navigation_panel() {
|
||||
return "\n<p></p><hr />\n"
|
||||
return "\n<div id='bottom-navigation-panel'>\n"
|
||||
. "<p></p><hr />\n"
|
||||
. make_nav_panel()
|
||||
. "</div>\n"
|
||||
. "<hr />\n"
|
||||
. get_version_text()
|
||||
. "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue