[issue19489] move quick search box above TOC

Ammar Askar report at bugs.python.org
Fri Sep 9 16:05:20 EDT 2016


Ammar Askar added the comment:

>The latter. All of the popular browsers (Chrome, Firefox, Edge and even Safari) already support the placeholder attribute so I think we can safely ignore IE 8 :)

Roger, I've changed it to placeholder.


>I know this is basically a copy of upstream searchbox.html, but we can probably remove ``style="display: none"`` and ``$('.inline-search').show(0);``.

The reason that exists is because sphinx's search relies on javascript.


>inline-search doesn't seem to be necessary here. ``display: inline`` is already applied by ``div.related li``.

Good catch, I've removed the class from there.

----------
Added file: http://bugs.python.org/file44509/searchbar_in_header.diff4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19489>
_______________________________________


More information about the Python-bugs-list mailing list