graycoreio/daffodil

View on GitHub
libs/design/sidebar/examples/src/sidebar-with-sticky-content/sidebar-with-sticky-content.component.html

Summary

Maintainability
Test Coverage
<daff-sidebar-viewport>
  <daff-sidebar mode="side-fixed" [open]="true" class="sidebar-with-sticky-content">
    Fixed sidebar content
  </daff-sidebar>
  <div class="content">
    <div class="sticky">
      <div>Sticky content</div>
    </div>
    <div class="inner-content">Inner content</div>
  </div>
</daff-sidebar-viewport>