<p>Menus are block-level elements, which means they stretch to fill the width of their container. To make the below example less goofy, we've hard-coded a <code>max-width</code> on the menu.</p>
</div>
+<div class="docs-video-codepen-container">
+ <a class="" data-open-video="12:00"><img src="https://www.elastic.co/static/images/svg/video-play-btn.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
+
+ <a class="codepen-logo-link" href="https://codepen.io/IamManchanda/pen/LyrYaE?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/cp1.svg" class="" height="" width="" alt="edit on codepen button"></a>
+</div>
+
```html
-<ul class="vertical dropdown menu" data-dropdown-menu style="max-width: 300px;">
+<ul class="vertical dropdown menu" data-dropdown-menu style="max-width: 250px;">
<li><a href="#">Item 1</a></li>
<!-- ... -->
</ul>
```
-<ul class="vertical dropdown menu" data-dropdown-menu style="max-width: 300px;">
+<ul class="vertical dropdown menu" data-dropdown-menu style="max-width: 250px;">
<li>
<a href="#Item-1">Item 1</a>
<ul class="menu">