<?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: Use tabs to switch map views in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161865#M84</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/330465"&gt;@Caitlin_Dickinson&lt;/a&gt;, a small CSS modification to the map div's should get them to display as-expected.&lt;/P&gt;&lt;P&gt;In changing their heights in the CSS from 100% to 100vh, both div's should display in the calcite-tabs.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#mapColorDiv, 
#mapGreyDiv {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 21:36:23 GMT</pubDate>
    <dc:creator>KittyHurley</dc:creator>
    <dc:date>2022-04-06T21:36:23Z</dc:date>
    <item>
      <title>Use tabs to switch map views</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161697#M80</link>
      <description>&lt;P data-unlink="true"&gt;I'd like to use the calcite-tab component to switch between two (or more) map views. However I'm having trouble getting a map view div to display in the content area underneath the tab (&lt;A href="https://codepen.io/cdickins/pen/GRyxJjR" target="_self"&gt;code&lt;/A&gt;).&lt;/P&gt;&lt;P data-unlink="true"&gt;All of the examples in the documentation and this Esri Community space just show text (e.g. "Tab 1 content") in the content area. Is it possible to place a div here that contains a map view rather than just text? Is there something i'm missing in either the css or the html for configuring the div, or a different component I should be using to achieve this functionality?&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161697#M80</guid>
      <dc:creator>Caitlin_Dickinson</dc:creator>
      <dc:date>2022-04-06T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use tabs to switch map views</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161865#M84</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/330465"&gt;@Caitlin_Dickinson&lt;/a&gt;, a small CSS modification to the map div's should get them to display as-expected.&lt;/P&gt;&lt;P&gt;In changing their heights in the CSS from 100% to 100vh, both div's should display in the calcite-tabs.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#mapColorDiv, 
#mapGreyDiv {
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100%;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 21:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161865#M84</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-04-06T21:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use tabs to switch map views</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161911#M89</link>
      <description>&lt;P&gt;Fantastic! Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;for the quick fix!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 23:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/use-tabs-to-switch-map-views/m-p/1161911#M89</guid>
      <dc:creator>Caitlin_Dickinson</dc:creator>
      <dc:date>2022-04-06T23:46:06Z</dc:date>
    </item>
  </channel>
</rss>

