[openstreetmap/openstreetmap-website] Remove hard-coded stuff in header (PR #6262)

Marwin Hochfelsner notifications at github.com
Sun Jul 27 18:40:49 UTC 2025


Aligning the buttons with flexbox means they move up a pixel or two.
The locale selector button adapts its height to the available space, now 35px high instead of 36.5px.
Setting the menu item stroke and width with the Bootstrap colors (after inlining it) removes the need to invert it.
Closes #6052.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Align header items with flexbox
  * Inline menu icon
  * Use Bootstrap colors for menu icon

-- File Changes --

    M app/assets/stylesheets/common.scss (21)
    M app/views/layouts/_header.html.erb (10)
    M app/views/layouts/_select_language_button.html.erb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list