slugbucket / crossword-hints

Python Flask web application to aid decipherment of cryptic crossword clues for known setters
GNU General Public License v3.0
1 stars 0 forks source link

On hints search page, solution search box overlay appears outside the input box - feat0023 #27

Closed slugbucket closed 4 years ago

slugbucket commented 4 years ago

The solutions search rendering on the cue search page is misaligned caused the overlay text to appear above the input box itself. Should also make the overlay text a lighter shade to better indicate it can be overwritten.

slugbucket commented 4 years ago

And on the 'setter types' page the search box shifts to the top of the title bar!

slugbucket commented 4 years ago

The hints template was missing the inclusion of the main javascript source. With this included the search goes the same way as the setter types: up to the top of the page. Suspect that this is something to do with the length of the page content: anything needing the scroll bar displays the search box just above the navigation bar, thos that don't display it at the top of the page.

Adding a 1px invisible border around the box causes it to be displayed in the same position, just above the navigation bar, on all pages.