[openstreetmap/openstreetmap-website] No compact nav 2 hide logo (PR #5370)

Anton Khorev notifications at github.com
Tue Dec 3 06:09:06 UTC 2024


A version of #5363 that uses a smaller breakpoint by hiding "OpenStreetMap" as described in https://github.com/openstreetmap/openstreetmap-website/pull/5363#issuecomment-2513598424.

![image](https://github.com/user-attachments/assets/964c184d-0a2e-4a3c-9e8d-b14af693be42)
![image](https://github.com/user-attachments/assets/f50d8a07-8b25-48b4-a209-6d81703f59a4)

![image](https://github.com/user-attachments/assets/5c4d8c47-3d37-492b-b746-15c1e43ce2d7)
![image](https://github.com/user-attachments/assets/5c0fb78a-bff2-403a-8b6a-41392d4ea3b3)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5370

-- Commit Summary --

  * Switch to/from compact nav by moving nav items
  * Use fixed small/compact nav breakpoint width
  * Move secondary menu items to "more" dropdown dynamically
  * Adjust secondary nav css for transition before/after js runs
  * Mark secondary nav as permanent between Turbo morphs
  * Use small Bootstrap breakpoint for switching to burger menu

-- File Changes --

    M app/assets/javascripts/application.js (85)
    M app/assets/stylesheets/common.scss (23)
    M app/helpers/application_helper.rb (2)
    M app/views/layouts/_header.html.erb (44)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5370.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5370.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5370
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5370 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241202/0331d68c/attachment.htm>


More information about the rails-dev mailing list