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

Open
CWDamm-Kint opened this issue Nov 22, 2024 · 0 comments
Open

Advanced styling panel overflows page for some resource models #11649

CWDamm-Kint opened this issue Nov 22, 2024 · 0 comments

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

@chiatt chiatt added this to pipeline Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant