<?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 iframe in a tab does not take the full height in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1383986#M591</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm putting an iframe in a tab as follow. What I expected is that the iframe will take the full height of the tab, but it does not. How does this happen? Or is there any work arround? Many thanks.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8"&amp;gt;
    &amp;lt;script type="module" src="https://js.arcgis.com/calcite-components/2.4.0/calcite.esm.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;link rel="stylesheet" type="text/css" href="https://js.arcgis.com/calcite-components/2.4.0/calcite.css" /&amp;gt;
    &amp;lt;style&amp;gt;
      calcite-shell {
        border:1px solid red;
      }
      iframe {
        width:100%;
        height:100%;
        border:0px;
      }
    &amp;lt;/style&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;calcite-shell&amp;gt;
      &amp;lt;calcite-tabs&amp;gt;
        &amp;lt;calcite-tab-nav slot="title-group"&amp;gt;
          &amp;lt;calcite-tab-title&amp;gt;Home&amp;lt;/calcite-tab-title&amp;gt;
        &amp;lt;/calcite-tab-nav&amp;gt;
        &amp;lt;calcite-tab&amp;gt;
         &amp;lt;iframe src='http://bing.com'&amp;gt;&amp;lt;/iframe&amp;gt;
        &amp;lt;/calcite-tab&amp;gt;
      &amp;lt;/calcite-tabs&amp;gt;
    &amp;lt;/calcite-shell&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 10:42:01 GMT</pubDate>
    <dc:creator>yushang</dc:creator>
    <dc:date>2024-02-19T10:42:01Z</dc:date>
    <item>
      <title>iframe in a tab does not take the full height</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1383986#M591</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm putting an iframe in a tab as follow. What I expected is that the iframe will take the full height of the tab, but it does not. How does this happen? Or is there any work arround? Many thanks.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8"&amp;gt;
    &amp;lt;script type="module" src="https://js.arcgis.com/calcite-components/2.4.0/calcite.esm.js"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;link rel="stylesheet" type="text/css" href="https://js.arcgis.com/calcite-components/2.4.0/calcite.css" /&amp;gt;
    &amp;lt;style&amp;gt;
      calcite-shell {
        border:1px solid red;
      }
      iframe {
        width:100%;
        height:100%;
        border:0px;
      }
    &amp;lt;/style&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;calcite-shell&amp;gt;
      &amp;lt;calcite-tabs&amp;gt;
        &amp;lt;calcite-tab-nav slot="title-group"&amp;gt;
          &amp;lt;calcite-tab-title&amp;gt;Home&amp;lt;/calcite-tab-title&amp;gt;
        &amp;lt;/calcite-tab-nav&amp;gt;
        &amp;lt;calcite-tab&amp;gt;
         &amp;lt;iframe src='http://bing.com'&amp;gt;&amp;lt;/iframe&amp;gt;
        &amp;lt;/calcite-tab&amp;gt;
      &amp;lt;/calcite-tabs&amp;gt;
    &amp;lt;/calcite-shell&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 10:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1383986#M591</guid>
      <dc:creator>yushang</dc:creator>
      <dc:date>2024-02-19T10:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: iframe in a tab does not take the full height</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1384085#M593</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767020"&gt;@yushang&lt;/a&gt;&amp;nbsp;- to achieve this, you can set&amp;nbsp;&lt;STRONG&gt;height: 100%&lt;/STRONG&gt;&amp;nbsp;on the Tabs component.&lt;BR /&gt;&lt;BR /&gt;If desired, you can use the &lt;STRONG&gt;--calcite-tab-content-block-padding&lt;/STRONG&gt;&amp;nbsp;to adjust the Tab component's default block-padding:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-tabs {
    height: 100%;
    --calcite-tab-content-block-padding: 0;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A title="Full Height iFrame in Calcite Tabs" href="https://codepen.io/mac_and_cheese/pen/Jjzzgzv?editors=1000" target="_blank" rel="noopener"&gt;Example in Codepen&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 18:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1384085#M593</guid>
      <dc:creator>Mac_And_Cheese</dc:creator>
      <dc:date>2024-02-19T18:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: iframe in a tab does not take the full height</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1384165#M594</link>
      <description>&lt;P&gt;it works! thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 00:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/iframe-in-a-tab-does-not-take-the-full-height/m-p/1384165#M594</guid>
      <dc:creator>yushang</dc:creator>
      <dc:date>2024-02-20T00:04:34Z</dc:date>
    </item>
  </channel>
</rss>

