[openstreetmap/openstreetmap-website] Use Bootstrap hoverable rows in directions tables (PR #4705)
Anton Khorev
notifications at github.com
Mon Apr 15 15:58:01 UTC 2024
There was a hover effect on rows in directions tables. It got broken probably when Bootstrap started setting background directly on table cells instead of table rows.
Here I'm using their standard hoverable rows. The color is different. We used to have a yellow highlight, but that one would have to be adapted to dark mode while the standard highlight works fine.
Before:

After:


You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4705
-- Commit Summary --
* Use Bootstrap hoverable rows in directions tables
-- File Changes --
M app/assets/javascripts/index/directions.js (2)
M app/assets/stylesheets/common.scss (3)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4705.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4705.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4705
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4705 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240415/5b4e3130/attachment.htm>
More information about the rails-dev
mailing list