- Status: Not a bug
As of Alpha 12. Ehren shared the following code in order to allow any main-content elements to adjust their positions to the size of my sticky headers:
:root{
--i-scroll-padding: calc(var(--i-headerPrimary--he) + 10px);
--i-sticky-offset: calc(var(--i-headerPrimary--he) + 10px);
}
But this seems to no longer work in the latest version. Has the CSS logic changed? In inspector, I can see some new variables:
--i-sticky-offset--large: 0px;
--i-sticky-offset--small: 0px;
--i-sticky-offset: calc(var(--i-sticky-offset--large) + var(--i-sticky-offset--extra, 0px));
The first two seem new, not sure what the difference between those are, and the third doesnβt seem to be listening to my override CSS code at the top there.
Any ideas?
Recommended Comments