I have a header like so:
.header-wrapper {
padding: 32px 24px 0 24px;
display: flex;
position: sticky;
top: 0;
z-index: 3;
background-color: $color-white;
}
<header class="header-wrapper">
<h2 data-qa="customersTitle" class="header-label">Customers</h2>
</header>
The header-wrapper class is written like above and cannot be changed. It must have a display:flex; attribute, otherwise some elements break.
What I need is: after scrolling a little bit, a shadow to appear under the header. How can I do that? (If I don't use display:flex it works. But i need to use it)
Thanks a lot in advance!