Skip to content

Commit 5dc2eca

Browse files
committed
docs: fix vercial tabs example classes #12006.
1 parent aa82df8 commit 5dc2eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/pages/tabs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Put it all together, and we get this:
8282

8383
## Vertical Tabs
8484

85-
Add the `.vertical` class to a tabstrip to stack tabs vertically. You can also place the tabstrip and the tab contents in a grid to make them sit side-by-side.
85+
Add the `.vertical` class to a tabstrip and tab contents to stack tabs vertically. You can also remove the `.grid-margin-x` class from the wrapping div to make them sit side-by-side.
8686

8787
<p>
8888
<a class="" data-open-video="3:46"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
@@ -94,7 +94,7 @@ Add the `.vertical` class to a tabstrip to stack tabs vertically. You can also p
9494

9595
```html_example
9696
<div class="grid-container">
97-
<div class="grid-x grid-margin-x">
97+
<div class="grid-x">
9898
<div class="cell medium-3">
9999
<ul class="vertical tabs" data-tabs id="example-tabs">
100100
<li class="tabs-title is-active"><a href="#panel1v" aria-selected="true">Tab 1</a></li>
@@ -106,7 +106,7 @@ Add the `.vertical` class to a tabstrip to stack tabs vertically. You can also p
106106
</ul>
107107
</div>
108108
<div class="cell medium-9">
109-
<div class="tabs-content" data-tabs-content="example-tabs">
109+
<div class="tabs-content vertical" data-tabs-content="example-tabs">
110110
<div class="tabs-panel is-active" id="panel1v">
111111
<p>One</p>
112112
<p>Check me out! I'm a super cool Tab panel with text content!</p>

0 commit comments

Comments
 (0)