[openstreetmap/openstreetmap-website] Set colors for trace visibility badges using .text-bg-* (PR #5331)
Anton Khorev
notifications at github.com
Fri Nov 15 15:13:41 UTC 2024
As recommended in https://getbootstrap.com/docs/5.3/components/badge/#background-colors, this sets both background and text in one declaration, with text depending on background.
See https://github.com/openstreetmap/openstreetmap-website/issues/5329#issuecomment-2478795244

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5331
-- Commit Summary --
* Set colors for trace visibility badges using .text-bg-*
-- File Changes --
M app/views/traces/_trace.html.erb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5331.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5331.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5331
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5331 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241115/77e9a3bd/attachment.htm>
More information about the rails-dev
mailing list