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

Advanced styling panel overflows page for some resource models #11649

Closed
CWDamm-Kint opened this issue Nov 22, 2024 · 1 comment
Closed

Advanced styling panel overflows page for some resource models #11649

CWDamm-Kint opened this issue Nov 22, 2024 · 1 comment

Comments

@CWDamm-Kint
Copy link
Contributor

Tested on Arches for HERs, Arches 7.5

On some models, the advanced styling code fails to properly format, resulting in a single long line of code. This causes the advanced styling panel to expand far beyond the page's normal boundaries.

Overflowing.advanced.styling.panel.mp4

The following error, sometimes (but not always) appears when toggling advanced search, but this does not seem to be determining whether the json formats correctly or not.

Advanced styling error

An incomplete solution is to add lineWrapping: true to line 177 of geojson-feature-collection.htm. This prevents the overflow, but it would better to fix whatever is sometimes stopping the json from formatting properly to begin with, as the result still isn't very readable:

Wrapped, unformatted json

@CWDamm-Kint
Copy link
Contributor Author

Here's the issue replicated in 7.6, if improperly formatted json is pasted into the panel:

Overflowing.advanced.styling.panel.-.v7.6.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants