Skip to content

Commit

Permalink
Merge branch 'main' into fix/tag/font-inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers authored May 21, 2024
2 parents 2e10c75 + 7a76544 commit 7577957
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions elements/rh-tabs/demo/nested.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<rh-tabs>
<rh-tab id="users" slot="tab">Users</rh-tab>
<rh-tab-panel>Users</rh-tab-panel>
<rh-tab slot="tab">Containers</rh-tab>
<rh-tab-panel>Containers <a href="#">Focusable element</a></rh-tab-panel>
<rh-tab slot="tab">Database</rh-tab>
<rh-tab-panel>Database</rh-tab-panel>
<rh-tab slot="tab">Servers</rh-tab>
<rh-tab-panel>Servers</rh-tab-panel>
<rh-tab slot="tab">Nested</rh-tab>
<rh-tab-panel>
<rh-tabs>
<rh-tab slot="tab">Nested Users</rh-tab>
<rh-tab-panel>Users</rh-tab-panel>
<rh-tab slot="tab">Nested Containers</rh-tab>
<rh-tab-panel>Containers <a href="#">Focusable element</a></rh-tab-panel>
<rh-tab slot="tab">Nested Database</rh-tab>
<rh-tab-panel>Database</rh-tab-panel>
<rh-tab slot="tab">Nested Servers</rh-tab>
<rh-tab-panel>Servers</rh-tab-panel>
<rh-tab slot="tab">Nested Cloud</rh-tab>
<rh-tab-panel>Cloud</rh-tab-panel>
</rh-tabs>
</rh-tab-panel>
</rh-tabs>

<style>
rh-tab-panel {
padding: 0;
}
</style>

<script type="module">
import '@rhds/elements/rh-tabs/rh-tabs.js';
</script>

0 comments on commit 7577957

Please sign in to comment.