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

Change sidebar width #283

Closed
alexisrolland opened this issue May 1, 2023 · 1 comment
Closed

Change sidebar width #283

alexisrolland opened this issue May 1, 2023 · 1 comment
Labels
enhancement New feature or request v2 Related to Baklava v2
Projects

Comments

@alexisrolland
Copy link

Hello, is there an easy way to change the default width of the sidebar? I've seen the documentation here: https://newcat.github.io/baklavajs/#/styling?id=hardcore-customization but I don't really understand how to overwrite the component. I'm wondering if there could be an easier way to change the default width without overwriting entirely the component? Thanks!

@newcat newcat added enhancement New feature or request v2 Related to Baklava v2 labels Jun 1, 2023
@newcat newcat added this to To do in V2 Jun 1, 2023
@newcat newcat moved this from To do to In progress in V2 Jun 1, 2023
@newcat
Copy link
Owner

newcat commented Jun 1, 2023

Implemented in v2.0.2-beta.4. You can use the new sidebar property in the settings to get/set the width and also prevent the user from resizing: https://v2.baklava.tech/api/interfaces/_baklavajs_renderer_vue.IViewSettings.html#sidebar

@newcat newcat closed this as completed Jun 1, 2023
@newcat newcat moved this from In progress to Done in V2 Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2 Related to Baklava v2
Projects
Status: Done
V2
  
Done
Development

No branches or pull requests

2 participants