secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian
https://perlite.secure77.de/
MIT License
968 stars 81 forks source link

Default column widths #85

Closed NotGovernor closed 1 year ago

NotGovernor commented 1 year ago

Is your feature request related to a problem? Please describe. When the site comes up for a new person for the first time, the left and right columns take up an overly large percentage of space on desktop browsers.

Describe the solution you'd like Minimally, we should set the defaults to something that focuses on the content pane in the center. Ideally, the default percentages would be a setting accessible to admins in an environment variable in the docker-compose file.

Current default view: https://imgur.com/a/3bqcMSh

Suggested: https://imgur.com/a/RExsx0B

secure-77 commented 1 year ago

Ah I see, this seems to be a problem on smaller resolution screens, at wqhd the relation is ok.

image

Adjusting the panel sizes based on the windows size is good idea 👍

NotGovernor commented 1 year ago

You might want to implement something more dynamic for differing ratios and resolutions -- but heres a temp fix (maybe?). Feel free to reject if you'd like. No worries.

https://github.com/secure-77/Perlite/pull/87

secure-77 commented 1 year ago

implemented in 1.5.6