Is it possible to change the mapView popup width in the 4.3 API?

1958
3
04-19-2017 11:26 AM
JamesSamek
Occasional Contributor

Is it possible to change the mapView popup width in the 4.3 API?

Tags (1)
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

James,

  Sure just do it with css:

.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container
{
    width: 600px !important;
}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
JamesSamek
Occasional Contributor

Thanks - I had the esri-popup__main-container, but not the esri-view-width-<size>.

0 Kudos
JaredPilbeam2
MVP Regular Contributor

This seems to have been updated in API 4.9:

    .esri-popup__main-container.esri-widget {
      width: 310px !important;
      max-height: 300px !important;
    }