secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian

Home Page:https://perlite.secure77.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default column widths

NotGovernor opened this issue · comments

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

commented

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 👍

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.

#87

commented

implemented in 1.5.6