[openstreetmap/openstreetmap-website] Fix unexpected spacing on note buttons when overflowed (#3091)

Mxdanger notifications at github.com
Tue Feb 9 01:46:04 UTC 2021


Resolves #3075

Depending on the current language, the buttons for closing and commenting on notes may overflow resulting in no spacing between the buttons. This change improves accessibility as it allows the user to easily distinguish between the two buttons and it reduces accidental presses on the wrong button.

Example of the issue:
![before image](https://user-images.githubusercontent.com/57260466/106171418-ccdb2c00-6191-11eb-8636-e4b9de686745.png)

Example after the fix:
![after image](https://user-images.githubusercontent.com/32040254/107301376-3b40a980-6a30-11eb-9473-65a00de4420e.png)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix unexpected spacing on note buttons when overflowed

-- File Changes --

    M app/views/browse/note.html.erb (10)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3091
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210208/56e83b34/attachment.htm>


More information about the rails-dev mailing list