Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set colors for trace visibility badges using .text-bg-* #5331

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Nov 15, 2024

As recommended in https://getbootstrap.com/docs/5.3/components/badge/#background-colors, this sets both background and text colors in one declaration, with text depending on background.

See #5329 (comment)

image

image

@gravitystorm gravitystorm merged commit 377391e into openstreetmap:master Nov 15, 2024
22 checks passed
@gravitystorm
Copy link
Collaborator

Merged, thanks! I hadn't seen this approach before.

@AntonKhorev AntonKhorev deleted the trace-badges-text-bg branch November 15, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants