You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a sidebar with animation Slide Along.
When the sidebar is hidden, the pusher content is centered with respect to the width. But when the sidebar is visible, the width of the pusher remains the same and there is an additional width from the visible sidebar. Hence the pusher content, which is still centered looks skewed to the right.
I am trying to create a sidebar with animation Slide Along.
When the sidebar is hidden, the pusher content is centered with respect to the width. But when the sidebar is visible, the width of the pusher remains the same and there is an additional width from the visible sidebar. Hence the pusher content, which is still centered looks skewed to the right.
Here is an example. Initial Codepen
This is what I tried. My Attempt.
I am trying to keep the pusher content centered at all times.
Thanks.
The text was updated successfully, but these errors were encountered: