KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
813 stars 69 forks source link

Set left/right sidebar width separately #442

Open Pil0tXia opened 4 months ago

Pil0tXia commented 4 months ago

Is your feature request related to a problem? Please describe. When editing Layout Options - Sidebar Width, the left and right sidebar will both use this width value. However, user may want to make the left sidebar wider and the right sidebar narrower.

Describe the solution you'd like Add Left Sidebar Width and Right Sidebar Width options.

Thanks!

KosmosisDire commented 4 months ago

The sidebars are resizable by dragging on the edge of them. They keep their width, have you tried this?

I do want to make it so you can set the default width of the sidebars independently though. Thanks for the suggestion

Pil0tXia commented 4 months ago

The sidebars are resizable by dragging on the edge of them. They keep their width, have you tried this?

Yeah, dragging is easy. I'm hoping that those who are viewing the html page for the first time can dispense with the dragging step. Thanks~

KosmosisDire commented 1 month ago

Hey, I just released a beta version that should address this. If you could try it out and let me know if his issue is fixed and if you find any other issues. There are instructions for installing the beta in the readme :) Thanks!

Pil0tXia commented 4 weeks ago

@KosmosisDire

Hi, thank you for your development! Before I uninstalled 1.8.01, I installed 1.9.0-2b through BRAT and tried to run Local Website export after changing the width of the left and right sidebars. However, the plugin seemed to freeze and stayed on this page:

QQ_1725119636507

This forced me to exit Obsidian. May you please help take a look?

KosmosisDire commented 4 weeks ago

How many files are in your vault?

Pil0tXia commented 4 weeks ago

@KosmosisDire

About 500+ markdown files and 2000+ pictures. I encountered the white screen problem after I clicked the "Export" button of 1 markdown file with about 100 pictures in beta version.

Pil0tXia commented 4 weeks ago

@KosmosisDire

I just uninstalled the release version and reinstalled the beta version and chose to export another note with less images and no AV1 encoded MP4 videos, then the plugin successfully exported the html file.

However, even though I set two different values for left and right sidebar width, the exported html page used the right sidebar width value for both left and right sidebars.