<?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: How to reduce the margin widgets - ui borders in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015784#M71363</link>
    <description>&lt;P&gt;Thanks for trying to help Robert but unless I miss something it doesn't really answer my questions - which might not be very clear:&lt;/P&gt;&lt;P&gt;1) Is&amp;nbsp;&lt;SPAN&gt;esri-ui-corner-container the right class to override (or is it possibly used at some other places) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) (to the ESRI team) Why is there an inline "inset" style instead of it being defined by the theme. It would make it easier to document and override this style.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 22:55:52 GMT</pubDate>
    <dc:creator>VictorBerchet</dc:creator>
    <dc:date>2021-01-11T22:55:52Z</dc:date>
    <item>
      <title>How to reduce the margin widgets - ui borders</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015251#M71336</link>
      <description>&lt;P&gt;I find that the widgets are placed too far away from the ui borders consuming precious screen real estate.&lt;/P&gt;&lt;P&gt;I was hopping that it would be easy to customize using the scss theme files but not really. Below is the markup:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="esri-ui" style="inset: 0px;"&amp;gt;
  &amp;lt;div class="esri-ui-inner-container esri-ui-corner-container" style="inset: 15px 15px 30px;"&amp;gt;
    &amp;lt;div class="esri-ui-top-left esri-ui-corner"&amp;gt;
      [...]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The margins from the ui borders to the widgets is defined by&amp;nbsp; `style=inset: 15px ...` making it harder to override.&lt;/P&gt;&lt;P&gt;Why is the rationale of having this hardcoded ? Should it be moved to the styles instead ?&lt;/P&gt;&lt;P&gt;One workaround is to use the infamous `!important` on one of the class but the inner-container class is also used at some other location and it messes with the UI layout. Is the corner-container class the one to update ? I haven't found it used anywhere else. If it is the cases what about moving the positions (inset) there ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 22:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015251#M71336</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2021-01-08T22:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the margin widgets - ui borders</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015553#M71357</link>
      <description>&lt;P&gt;Victor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Because the&amp;nbsp;esri-ui-corner-container div has an inline style with the inset you can not do anything without the !important to override it.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 15:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015553#M71357</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-01-11T15:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce the margin widgets - ui borders</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015784#M71363</link>
      <description>&lt;P&gt;Thanks for trying to help Robert but unless I miss something it doesn't really answer my questions - which might not be very clear:&lt;/P&gt;&lt;P&gt;1) Is&amp;nbsp;&lt;SPAN&gt;esri-ui-corner-container the right class to override (or is it possibly used at some other places) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) (to the ESRI team) Why is there an inline "inset" style instead of it being defined by the theme. It would make it easier to document and override this style.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 22:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-reduce-the-margin-widgets-ui-borders/m-p/1015784#M71363</guid>
      <dc:creator>VictorBerchet</dc:creator>
      <dc:date>2021-01-11T22:55:52Z</dc:date>
    </item>
  </channel>
</rss>

