[openstreetmap/openstreetmap-website] Override bootstrap's box-shadow effect on search field & sidebar buttons (PR #4176)

Tom Hughes notifications at github.com
Sun Feb 25 14:52:56 UTC 2024


I'm not sure if this is a good idea or not - mostly I'm concerned about accessibility since the shadow help show the active component for people using keyboard navigation.

If it is a good idea then in keeping with our policy of minimising custom CSS the way to do it is to add the bootstrap `shadow-none` class to the components rather then using custom CSS with a `!important` flag.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4176/c1962964784 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240225/773c67c1/attachment-0001.htm>


More information about the rails-dev mailing list