Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic width of sidr #351

Open
fischhase opened this issue Dec 1, 2020 · 0 comments
Open

dynamic width of sidr #351

fischhase opened this issue Dec 1, 2020 · 0 comments

Comments

@fischhase
Copy link

Hallo Artberri,

I would presume, that the sidr menu uses the outerWidth of the menu element to set width and right/left. Unfortunately I had to realize, that you hardcoded it in the jquery.sidr.*.css to 266px.

Now I tried to change a few lines to get it width dynamic width. It works but is not the best solution. How do you deal width it? Is there an official way (in your JS you use menueWidth, but I could noch hook in that)?

Thanks
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant