Repository navigation
Context with theme has problems loading Catalog #12776 - #12792
Merged
offtherailz merged 2 commits intoAug 14, 2026
Merged
Conversation
1 task done
offtherailz
requested changes
Aug 13, 2026
Member
There was a problem hiding this comment.
this needs to be solved at build phase .ms2 is specific to the core project but not in most of the downstream ones
I think also less should use a similar loader to the css one https://github.com/geosolutions-it/MapStore2/blob/master/build/buildConfig.js#L203-L255
Make sure that this works for projects too after this change.
Contributor
Author
|
@offtherailz
Also tested on the downstream project. |
offtherailz
approved these changes
Aug 14, 2026
Member
|
Successfully created backport PR for |
offtherailz
added a commit
that referenced
this pull request
Aug 14, 2026
* Fix component styles overridden by context theme * prefixing for normal less file too (cherry picked from commit b7f846a) Co-authored-by: RowHeat <[email protected]>
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.

Description
Common CSS classes from the context theme were overriding MapStore component styles. This affected components like:
Some common classnames were affected, like(.checkbox, .ms-flex-box)
Fixed by scoping the affected styles under .ms2 so MapStore component styles take priority over the common theme styles.
This solution is a best fit rather than others build level fix for CSS.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#12776
What is the new behavior?
In the dark theme context, Catalog shows no CSS issues.

Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information