<?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 Can &amp;quot;input-date-picker&amp;quot; component's width style be narrower? in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1208996#M215</link>
    <description>&lt;P&gt;This component is in "calcite-panel" and its&amp;nbsp;scale attribute is set "s" . While it is still not narrow as expected. As the &lt;A href="https://codepen.io/gisfinder/pen/abYerXO?editors=1000" target="_self"&gt;code pen&lt;/A&gt;.&amp;nbsp; It works fine in arcgis online web viewer as the screenshot below. This panel is in the "map settings" button clicked. The map contains a feature service with time-slider in my local server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="datepicker2.jpg" style="width: 429px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50215iC1C211DED24B9459/image-size/large?v=v2&amp;amp;px=999" role="button" title="datepicker2.jpg" alt="datepicker2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 04:33:32 GMT</pubDate>
    <dc:creator>baohuachu2</dc:creator>
    <dc:date>2022-09-02T04:33:32Z</dc:date>
    <item>
      <title>Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1208996#M215</link>
      <description>&lt;P&gt;This component is in "calcite-panel" and its&amp;nbsp;scale attribute is set "s" . While it is still not narrow as expected. As the &lt;A href="https://codepen.io/gisfinder/pen/abYerXO?editors=1000" target="_self"&gt;code pen&lt;/A&gt;.&amp;nbsp; It works fine in arcgis online web viewer as the screenshot below. This panel is in the "map settings" button clicked. The map contains a feature service with time-slider in my local server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="datepicker2.jpg" style="width: 429px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50215iC1C211DED24B9459/image-size/large?v=v2&amp;amp;px=999" role="button" title="datepicker2.jpg" alt="datepicker2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 04:33:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1208996#M215</guid>
      <dc:creator>baohuachu2</dc:creator>
      <dc:date>2022-09-02T04:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209172#M216</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115883"&gt;@baohuachu2&lt;/a&gt;. The input-date-picker "scale" attribute modifies the component's sizing, such as its height and text, but not its width.&lt;/P&gt;&lt;P&gt;In this case for consistent styling you could add CSS to the panel's contents, or directly to the input-date-picker component, such as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
.date-range-panel &amp;gt; * {
  margin: 1rem;
}
&amp;lt;/style&amp;gt;

&amp;lt;calcite-panel class="date-range-panel" heading="Date picker test" height-scale="l" dismissible&amp;gt;
  &amp;lt;calcite-label&amp;gt;
  Set the date range
  &amp;lt;calcite-input-date-picker range scale="s" overlay-positioning="fixed"&amp;gt; 
  &amp;lt;/calcite-input-date-picker&amp;gt;
  &amp;lt;/calcite-label&amp;gt;
&amp;lt;/calcite-panel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209172#M216</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-09-02T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209758#M217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219" target="_self"&gt;&lt;SPAN class=""&gt;Kitty-Hurley:&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; The width of the input is decided by "font-size" which is defined in calcite.css file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I tried to add css to stylize its font-size but not take effect as the codes in &lt;A href="https://codepen.io/gisfinder/pen/abYerXO?editors=1000" target="_self"&gt;code pen&lt;/A&gt;..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 07:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209758#M217</guid>
      <dc:creator>baohuachu2</dc:creator>
      <dc:date>2022-09-06T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209901#M218</link>
      <description>&lt;P&gt;The font-size is part of the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/Web_Components" target="_blank" rel="noopener"&gt;web component&lt;/A&gt;'s shadow DOM, so styles can't be modified so they have consistency when working with components across the design system.&lt;/P&gt;&lt;P&gt;Does the following &lt;A href="https://codepen.io/geospatialem/pen/XWqWeEy" target="_blank" rel="noopener"&gt;Codepen&lt;/A&gt; modifying the component's width with CSS achieve the anticipated narrow width?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 14:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1209901#M218</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-09-06T14:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1211876#M220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The "MM/DD/YYYY" placement&amp;nbsp; in the component is not displayed completely as the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="baohuachu2_0-1663038227209.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50996iB3D6CD604A385E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="baohuachu2_0-1663038227209.png" alt="baohuachu2_0-1663038227209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 03:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1211876#M220</guid>
      <dc:creator>baohuachu2</dc:creator>
      <dc:date>2022-09-13T03:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1211987#M221</link>
      <description>&lt;P&gt;Updated the &lt;A href="https://codepen.io/geospatialem/pen/XWqWeEy" target="_blank" rel="noopener"&gt;Codepen&lt;/A&gt; to include a specified width using pixels to ensure the full placeholder text is visible.&lt;/P&gt;&lt;P&gt;Another option, if it fits the use case, could be to set the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/input-date-picker/#component-api-properties-layout" target="_blank" rel="noopener"&gt;layout&lt;/A&gt; attribute to "vertical".&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-input-date-picker layout="vertical" range scale="s" overlay-positioning="fixed"&amp;gt;&amp;lt;/calcite-input-date-picker&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Upon setting the input's stack on top of one another, like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KittyHurley_0-1663077772674.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/51025i8EFCCCA3F8B16162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KittyHurley_0-1663077772674.png" alt="KittyHurley_0-1663077772674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 14:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1211987#M221</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-09-13T14:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212654#M222</link>
      <description>&lt;P&gt;You just want to set the width of the Input Date Picker right? You can do that with CSS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-input-date-picker 
    range
    style="width:260px"
    scale="s" 
    overlay-positioning="fixed"&amp;gt;
&amp;lt;/calcite-input-date-picker&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or am I misunderstanding the question?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 20:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212654#M222</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-09-14T20:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212665#M223</link>
      <description>&lt;P&gt;Or are you saying that the Panel isn't big enough to fit the Input Date Picker range without cutting off the text? You can make the Shell Panel wider using the &lt;A href="https://developers.arcgis.com/calcite-design-system/components/shell-panel/#component-api-properties-widthScale" target="_blank" rel="noopener"&gt;width-scale&lt;/A&gt; attribute:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-shell-panel width-scale="l" slot="primary-panel" position="start" detached&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Here is a codepen:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/benesri/pen/XWqNGpJ?editors=1000" target="_blank"&gt;https://codepen.io/benesri/pen/XWqNGpJ?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 20:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212665#M223</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2022-09-14T20:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can "input-date-picker" component's width style be narrower?</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212792#M224</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; and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you for your solutions. I will try to increase the panel width.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 06:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/can-quot-input-date-picker-quot-component-s-width/m-p/1212792#M224</guid>
      <dc:creator>baohuachu2</dc:creator>
      <dc:date>2022-09-15T06:29:25Z</dc:date>
    </item>
  </channel>
</rss>

