Jump to content
Search Community

Pinning and Grid's fr units

rudrang test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

Hi again! :D
I am facing this issue in a sidebar layout. I try to pin the sidebar and am successful in that but the main content, which is a grid with 2 column layout, overlaps the sidebar as soon as the sidebar is pinned. It seems to be resolved when I use predefined values for the columns instead of 1fr units. I tried making the sidebar sticky using CSS (not GSAP) and there was no overlapping of the sidebar/ overflowing of the main content. 

Here is the link for the demo.

 

What am I missing here? :(
Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...