AGOL Update has Map Viewer Text content block forcing multiple spacing

501
2
Jump to solution
12-02-2022 08:43 AM
KaraUtter1
New Contributor III

After the last update, I no longer have control over how I would like my text content block in my pop-up to be spaced. I want single spacing. It is forcing large double spaces in-between each line. When I try to add the html tag <p class="space"> (first image below) it deletes my added html requests completely (second image below).

To have properly laid out pop-ups, we need to be able to single space when we want to, and choose to double space if we need to. Please don't force it - it makes pop-ups looks messy and they get far too long with this type of implementation.

KaraUtter1_0-1669999300121.png

KaraUtter1_1-1669999315665.png

 

 

 

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

It doesn't appear to allow any modifications to the <p> element. Could you try doing it with <div>s instead? AGOL is much more permissive of inline style tags for div elements.

<div style="letter-spacing:2px;margin-bottom:10px;">
    <u>Current Owner Contact Info</u>
</div>
<div style="rotate:180deg;text-align:right;">
    Some Person
</div>
<div style="font-family:monospace;">
    123 Main Street
</div>

jcarlson_1-1670003000832.png

 

- Josh Carlson
Kendall County GIS

View solution in original post

2 Replies
jcarlson
MVP Esteemed Contributor

It doesn't appear to allow any modifications to the <p> element. Could you try doing it with <div>s instead? AGOL is much more permissive of inline style tags for div elements.

<div style="letter-spacing:2px;margin-bottom:10px;">
    <u>Current Owner Contact Info</u>
</div>
<div style="rotate:180deg;text-align:right;">
    Some Person
</div>
<div style="font-family:monospace;">
    123 Main Street
</div>

jcarlson_1-1670003000832.png

 

- Josh Carlson
Kendall County GIS
KaraUtter1
New Contributor III

Div worked! Thanks Josh.

 

0 Kudos