<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ESRI JavaScript API 4.x how to change height of popup? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355607#M32940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually figured out a solution.&amp;nbsp; I used the following .css within the index.htm file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.esri-view-width-xlarge .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-large .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-medium .esri-popup__main-container&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; max-height: 400px !important;&lt;BR /&gt;&amp;nbsp; max-width: 300px !important;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to do this since I was referencing the following .css:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/css/main.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to reference the code block above within my own layout.css...but could not overwrite the code specified in the link above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/442498_sample.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2019 19:46:46 GMT</pubDate>
    <dc:creator>IanPeebles</dc:creator>
    <dc:date>2019-04-18T19:46:46Z</dc:date>
    <item>
      <title>ESRI JavaScript API 4.x how to change height of popup?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355605#M32938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone.&amp;nbsp; I have successfully configured popups for my application.&amp;nbsp; However, I am wanting to change the height of the popup.&amp;nbsp; By default, the height is around 200px, but I want 300-350px.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the select elements in the developer tools, but still cannot change the height of the popup.&amp;nbsp; This block of code does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.esri-view-width-xlarge .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-large .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-medium .esri-popup__main-container&lt;BR /&gt;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;max-height: 300px !important;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The popup remains at this height:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/442432_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a wrapper I am forgetting about?&amp;nbsp; I cannot seem to find the correct element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 17:52:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355605#M32938</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2019-04-18T17:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JavaScript API 4.x how to change height of popup?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355606#M32939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;dockOptions" property of popup.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Here is the API web help&amp;nbsp; link:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 300;"&gt;Biraja&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 18:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355606#M32939</guid>
      <dc:creator>BirajaNayak</dc:creator>
      <dc:date>2019-04-18T18:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JavaScript API 4.x how to change height of popup?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355607#M32940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually figured out a solution.&amp;nbsp; I used the following .css within the index.htm file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.esri-view-width-xlarge .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-large .esri-popup__main-container,&lt;BR /&gt;.esri-view-width-medium .esri-popup__main-container&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; max-height: 400px !important;&lt;BR /&gt;&amp;nbsp; max-width: 300px !important;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to do this since I was referencing the following .css:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/css/main.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to reference the code block above within my own layout.css...but could not overwrite the code specified in the link above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/442498_sample.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 19:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-javascript-api-4-x-how-to-change-height-of/m-p/355607#M32940</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2019-04-18T19:46:46Z</dc:date>
    </item>
  </channel>
</rss>

