[openstreetmap/openstreetmap-website] Add a basic when-last-changed feature to the history pages (PR #3535)
JesseWeinstein
notifications at github.com
Tue May 17 18:27:22 UTC 2022
> > What is the recommended alternative to adding more custom CSS?
>
> It's usually to use [bootstrap](https://getbootstrap.com/docs/4.6/) classes (adding classes to the markup in the html), whenever there's a standard bootstrap option available. If there's a bootstrap "component" that's ideal (see e.g. the use of [details](https://github.com/openstreetmap/openstreetmap-website/commit/b4b59df75e4048eaebff7c7efeeee66aa3bfa5a3) or "cards" on the help page), or if there's something in the "typography" section (e.g. trying a small bordered rounded table to see if that can replace lots of custom CSS `border` statements) or else using bootstrap "utilities" for fine-grained tweaks (e.g. [border utilities](https://github.com/openstreetmap/openstreetmap-website/commit/52cd62bf1309a91813b8dfccaf5f7ce9859007f1)).
Thanks, but I don't see anything in https://getbootstrap.com/docs/4.6/content/tables/ that seems relevant to the changes I'm making here. The only CSS additions I'm doing are modifying the existing hardcoded width percentages, applying the same inner border as was already there, and centering the text. I'm not sure how Bootstrap could help with that. Happy for more pointers!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3535#issuecomment-1129186018
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3535/c1129186018 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220517/bdff49e1/attachment.htm>
More information about the rails-dev
mailing list