Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
When you need to implement styling relative to the header.
I am sticky! I am always positioned right below the header when you scroll up and down.
<style> #my-div { z-index: 1000; top: 0; transition: var(--post-header-slide-in-transition); } swisspost-internet-header.scrolling-up + #my-div { top: var(--post-header-height); } </style> <swisspost-internet-header project="test" environment="int01" language="en" ></swisspost-internet-header> <p id="my-div" class="position-sticky bg-nightblue p-regular"> I am sticky! I am always positioned right below the header when you scroll up and down. </p>
To access the CSS variables for the header, you need to install an optional stylesheet into your project. Learn more in the header CSS variables stylesheet documentation.