Scalebar at 4.12 without background

173
2
Jump to solution
10-29-2019 06:19 AM
ImtiyazPasha
Occasional Contributor

Hi,

I am trying to remove the background of Scalebar at 4.12 using widgets styles but still, the transparent background appears

 ScaleBar widget | ArcGIS API for JavaScript 4.13 

Please help me.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Imtiyaz,

  Just add this css rule to your apps style section:

.esri-scale-bar__line {
  background-color: rgba(255,255,255,0);
}‍‍‍

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Imtiyaz,

  Just add this css rule to your apps style section:

.esri-scale-bar__line {
  background-color: rgba(255,255,255,0);
}‍‍‍
ImtiyazPasha
Occasional Contributor

Thanks a lot.

0 Kudos