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

AppAside #35

Closed
kelvinblade opened this issue Aug 31, 2018 · 4 comments
Closed

AppAside #35

kelvinblade opened this issue Aug 31, 2018 · 4 comments

Comments

@kelvinblade
Copy link

I bought the pro version but the documentation doesn't tell me how to change width of AppAside and how to toggle it with a function, thanks.

@xidedix
Copy link
Member

xidedix commented Aug 31, 2018

hi @kelvinblade
to change width of aside you can override template's scss variable in src\scss\_variables.scss like this:

$aside-menu-width: 400px

@kelvinblade
Copy link
Author

@xidedix thanks that worked

can you tell me how to toggle it with a function instead of using AppAsideToggler? Thanks

@xidedix
Copy link
Member

xidedix commented Sep 3, 2018

@kelvinblade
all you need is a custom function toggling aside-menu-show or aside-menu-${display}-show class like AsideToggler does

@kelvinblade
Copy link
Author

@xidedix
i am not sure how to do that in react, can you help me?

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

2 participants