[openstreetmap/openstreetmap-website] Use bootstrap badges to implement count-number badges (PR #4212)

Andy Allan notifications at github.com
Thu Aug 31 08:57:50 UTC 2023


This leaves bootstrap to take care of most aspects of the badge, while retaining the current colours and font weights.

This is the first PR in a wider project to remove our use of the Sass '/' division operator, which is deprecated and will be removed in future: https://sass-lang.com/documentation/breaking-changes/slash-div/ . All of our use of '/' division is in old custom CSS code, so my aim is to replace the code with bootstrap alternatives when possible.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use bootstrap badges to implement count-number badges

-- File Changes --

    M app/assets/stylesheets/common.scss (18)
    M app/helpers/issues_helper.rb (4)
    M app/views/layouts/_header.html.erb (2)
    M app/views/layouts/_inbox.html.erb (2)
    M app/views/users/show.html.erb (20)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list