Skip to content

Conversation

@p0lar-bear
Copy link

I'm using sidr in a project of mine and made a small modification to it to resize the body so it fits on the screen with the menu open, and I thought I'd share it. "displace" now takes a string, or false.
-false makes the menu slide out without affecting the body.
-'slide' pushes the whole body aside, as it did before.
-'squish' resizes the body as the sidr slides out.

"displace" now takes a string, or false.
-false makes the menu slide out without affecting the body.
-'slide' pushes the whole body aside, as it did before.
-'squish' resizes the body as the sidr slides out.
@momoteRyanmt
Copy link

Works great, Thanks

@dfbeauregard
Copy link

Nice work, thanks!

@konstantinkv
Copy link

for some reason my SIDR was squishing in the first place, this made it slide out normally. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants