<?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 any success with --calcite-label-margin-bottom? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205024#M78391</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Has anyone been able to update the calcite variable &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;--calcite-label-margin-bottom&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;and have that take effect?&lt;/P&gt;&lt;P&gt;I have tried applying a style with this variable set to the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;CalciteLabel&amp;gt;&lt;/FONT&gt; &lt;/STRONG&gt;element, and also to a wrapping &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;div&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;, but I do not see any change with either approach. I'm trying to change the calcite label element's margin-bottom from 12. I am working in React and bringing in Calcite via &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;esri/calcite-components-react&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 15:24:37 GMT</pubDate>
    <dc:creator>coryeicher</dc:creator>
    <dc:date>2022-08-22T15:24:37Z</dc:date>
    <item>
      <title>any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205024#M78391</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Has anyone been able to update the calcite variable &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;--calcite-label-margin-bottom&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;and have that take effect?&lt;/P&gt;&lt;P&gt;I have tried applying a style with this variable set to the &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;CalciteLabel&amp;gt;&lt;/FONT&gt; &lt;/STRONG&gt;element, and also to a wrapping &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;div&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;, but I do not see any change with either approach. I'm trying to change the calcite label element's margin-bottom from 12. I am working in React and bringing in Calcite via &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;esri/calcite-components-react&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205024#M78391</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-22T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205035#M78393</link>
      <description>&lt;P&gt;You can do it via the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/:root" target="_blank" rel="noopener"&gt;:root&lt;/A&gt; css.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;:root {
    --calcite-label-margin-bottom: 100px; /*LOL*/
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;That works in a sample I tried it. Might be something with how the framework is loading css too. I would define this in a global css that won't get scoped.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/ExEMoBg?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/ExEMoBg?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205035#M78393</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-22T15:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205092#M78396</link>
      <description>Hi Rene,&lt;BR /&gt;&lt;BR /&gt;Thanks for the tip. I tried what you recommended and that did not work on&lt;BR /&gt;my end. I've been able to update other calcite css variables without issue.&lt;BR /&gt;&lt;BR /&gt;-Cory&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:01:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205092#M78396</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-22T18:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205095#M78397</link>
      <description>&lt;P&gt;Do you have a repro app? It might be something like the calcite css loading after your variables are defined, but can't really tell without looking at something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok, so I don't know. I tried this with a regular app using the npm install and calcite and can't override it. Weird, looks like the built code has the values baked in. You might need to try a specific css target or wrap it in a span or div maybe.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205095#M78397</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-08-22T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205184#M78399</link>
      <description>&lt;P&gt;Here is a sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codesandbox.io/s/calcite-label-margin-bottom-elxnkc?file=/src/App.js" target="_blank"&gt;https://codesandbox.io/s/calcite-label-margin-bottom-elxnkc?file=/src/App.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For future reference, Calcite also has an Esri Community which I monitor more closely than this one:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/calcite-design-system-questions/bd-p/calcite-design-system-questions" target="_blank"&gt;https://community.esri.com/t5/calcite-design-system-questions/bd-p/calcite-design-system-questions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 22:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1205184#M78399</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-08-22T22:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206326#M78441</link>
      <description>&lt;P&gt;Ben,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks. I see that your sandbox works, but this is not working in my app. I will prepare a repro app.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 14:02:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206326#M78441</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-25T14:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206549#M78445</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71373"&gt;@BenElan&lt;/a&gt;&amp;nbsp;Here is an app to reproduce (attached .zip). See readme.md for build/run steps&lt;/P&gt;&lt;P&gt;The problematic CalciteLabel wraps an address typeahead, built from a CalciteInput + CalciteDropdown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="coryeicher_0-1661461906089.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/49495i007B0B5F21408852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="coryeicher_0-1661461906089.png" alt="coryeicher_0-1661461906089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I actually found a workaround solution for what I was trying to do, but the original issue appears to remain. Setting this calcite variable does not affect the CalciteLabel containing my address typeahead.&lt;/P&gt;&lt;P&gt;In the code, search this to find the bug...&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;// *** calcite variable not applied ***&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;... and search this to find/apply my workaround solution:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;/** uncomment for my solution **/&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Aug 2022 21:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206549#M78445</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-25T21:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206832#M78455</link>
      <description>&lt;P&gt;Hmm yeah I'm not sure. It's a pretty big repro app there could be a lot going on. Can you reproduce the issue in a simplified sample? If so I'd be happy to take a closer look.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 17:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1206832#M78455</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-08-26T17:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1207948#M78517</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/555928"&gt;@coryeicher&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It looks like you are using v&lt;SPAN&gt;0.21.0 of CCR in the repro app. The CSS variable wasn't introduced at that point. It will work in v0.27.0 or later (v0.30.0 is the latest). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The documentation site represents the latest version. If you are stuck on an older version you can use the changelog to determine when a feature was added:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/Esri/calcite-components/blob/master/CHANGELOG.md#100-beta84-2022-07-12" target="_blank"&gt;https://github.com/Esri/calcite-components/blob/master/CHANGELOG.md#100-beta84-2022-07-12&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can determine which CC version is being used by a CCR version on the cli:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="php"&gt;npm view @esri/calcite-components-react@0.21.0 dependencies["@esri/calcite-components"]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 23:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1207948#M78517</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-08-30T23:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: any success with --calcite-label-margin-bottom?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1208372#M78528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/71373"&gt;@BenElan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was it! The variable is working for me after upgrading esri/calcite-components-react to 0.30.0, and also making sure esri/calcite-components is upgraded to&amp;nbsp;&lt;SPAN&gt;1.0.0-beta.93.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 18:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-success-with-calcite-label-margin-bottom/m-p/1208372#M78528</guid>
      <dc:creator>coryeicher</dc:creator>
      <dc:date>2022-08-31T18:50:31Z</dc:date>
    </item>
  </channel>
</rss>

