Javascript 4.11 API LayerList Icons

224
2
Jump to solution
03-27-2019 03:19 PM
GreggRoemhildt
Occasional Contributor III

Anyone know what causes this? I'm setting the panel content to some html and am getting funky looking square boxes instead of the normal menu icon.

Upon inspecting the html for the layer list item it looks like:

<span class="esri-icon-default-action"></span>

This particular layer list is rendering a layer list for one map image layer.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Greg,

  Just add this css rule to your app then:

    .esri-icon-default-action:before {
content: "\e601";
color: inherit;
}

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Greg,

  Just add this css rule to your app then:

    .esri-icon-default-action:before {
content: "\e601";
color: inherit;
}

View solution in original post

0 Kudos
GreggRoemhildt
Occasional Contributor III

Nice! That did it

0 Kudos