digihistch24 / book-of-abstracts

Book of Abstracts for the Digital History Switzerland 2024. Historical Research, Digital Literacy and Algorithmic Criticism.
https://digihistch24.github.io/book-of-abstracts/
GNU Affero General Public License v3.0
1 stars 6 forks source link

Navbar Linebreak on Mobile #45

Open mtwente opened 3 weeks ago

mtwente commented 3 weeks ago

Current Behavior

On smaller screens, the search box logo (the last one) is placed on a new line, when the navbar should have one line only:

Bildschirmfoto 2024-08-21 um 21 28 41

On medium screens, both the github icon and the darkmode toggle are not aligned properly. They should be placed on the far right, next to the search button.

Bildschirmfoto 2024-08-21 um 21 29 45

Reproduction / Steps To Reproduce

No response

Anything else?

No response

maehr commented 3 weeks ago

A quick fix is to turn of dark mode. To fix it we would need to fix the quarto template. It looks a little messy, especially the aa-DetachedSearchButton class...

maehr commented 3 weeks ago

Alternatively we could uncomment the following section in _quarto.yml

    # tools:
    #   - icon: github
    #     url: https://github.com/digihistch24/book-of-abstracts/
    #     target: _blank
mtwente commented 3 weeks ago

Yes. Each abstract page has a separate link to edit on github anyway. But also, neither dark mode nor this icon are really necessary...

maehr commented 3 weeks ago

Fair point. Let's discuss this later today.