/code> or <code>ui-sref</code> attribute) inside panels automatically close the panel when clicked.</p>
</div>

<h4>Where Does it Go?</h4>

<p>Panels should always anchor to blocks (<code>.grid-block</code>), not content blocks (<code>.grid-content</code>). To create a panel that sits on top of a scrolling chunk of content, position the panel <em>adjacent</em> the block, not <em>inside</em>.</p>

<hljs language="html">
<!-- Wrong: panel is inside a content block -->
<div class="grid-content">
  <div ba-pane