Suppress word wrap in Arcade

692
1
05-20-2022 01:30 PM
Labels (1)
TychoGranville
Occasional Contributor II

Is there a way to suppress word wrapping in popups? I'm using Arcade to display a list and the really long strings wrap. For example:

Capture.JPG

 Is there a "no wrap" function or equivalent? I'm using this in both Pro and 10.9.1 web maps

Tags (2)
0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

It looks like suppressing word-wrapping is itself being suppressed.

Note how in the element inspector, I see only my font-family style applied.

jcarlson_1-1653082217317.png

But here is the configuration of the popup:

jcarlson_4-1653082453575.png

Tried various other style options to either suppress or alter word wrapping, but no luck. I can manually insert the style tag and see it update, but I can't seem to get this into the popup configuration itself.

jcarlson_3-1653082436569.png

Alternative: combine text-indent and margin-left? Then the new line is at least a bit clearer to users.

jcarlson_5-1653082630352.png

 

- Josh Carlson
Kendall County GIS