Fix: Set default event-category color to match the map legend style - #113
Merged
benjaoming merged 3 commits intoNov 15, 2025
Merged
Conversation
…the color will be default brown
Closed
benjaoming
approved these changes
Nov 11, 2025
benjaoming
left a comment
Contributor
There was a problem hiding this comment.
LGTM 👍 I'm not sure the CSS comments help unless you write that by "Other" we mean the legend in the map.
Contributor
Author
|
@benjaoming thank you sir, I have updated the title as per your suggestion. |
Contributor
|
@kehach07 there is a merge conflict to solve 😊 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the default
.event-categorystyle to use the same background and text color as the "Other" category.This ensures that any new or undefined event types will automatically inherit the "Other" category’s color scheme.
Changes
.event-categorydefault background to#222222and text color to#fafcfb.Why
Previously, if a new event category was added without a defined style, it appeared unstyled or inconsistent.
With this change, such cases will now default to the "Other" color scheme, maintaining visual consistency across the site.
Visual impact
No visible change for existing categories — only affects undefined or future event types.