Select to view content in your preferred language

Reduce padding on the Feature Info widget

38
0
2 hours ago
Status: Open
Labels (2)
MappyIan
Frequent Contributor

The Feature Info widget automatically applies additional padding to the Text and Arcade content types, but not the Fields List or Image content types (I haven't tried the Chart content type).  The screengrab below shows a very simple Experience Builder application configured with a Feature Info widget on the left hand side, plus the standard map popup on the right hand side for the same feature.  The issue is that in the Feature Info widget, the two blocks of text have extra padding on the left and right causing them to display as indented when compared to the Fields List and Image content blocks below.  Looking at the standard map popup on the right hand side, the two blocks of text are aligned perfectly with the Fields List and Image content blocks below.

MappyIan_0-1759921733815.png

Using the Dev tools in the browser, you can see that 15px of padding is applied to the left and right of both the Arcade and Text content types configured in the popup:
MappyIan_1-1759921766788.png

Whilst the extra 15px doesn't look too bad in the above screen grab, in a production Experience, the extra padding causes real issues when viewed on lower resolution devices as shown below:

MappyIan_2-1759921986032.png

This idea is to remove the extra padding that is automatically applied to the Text and Arcade content types in the Feature Info widget.

This was originally logged as a question here, but there was no suitable solution/workaround hence logging it as an Idea: https://community.esri.com/t5/arcgis-experience-builder-questions/reduce-padding-on-the-feature-info...