YU000jp/logseq-plugin-show-weekday-and-week-number

Option to control the width of journal boundaries/mini-calendar

Closed this issue · 3 comments

If it's possible to do so, I would very much like if you can implement an option to control the width of the journal boundaries/mini-calendar, possibly with percentage.

It wouldn't be necessary but most of the time I use logseq in tiling mode, so the window is small & if I open side bars, part of the journal boundaries is not usable unless I scroll horizontally.
Screenshot:
Screenshot from 2024-01-07 13-43-09

Normally the ui should adapt to the changes but since it's not happening here & I'm not sure if you've the plan to do so, this feature would be very helpful in making it's width small enough for my needs.

Instead of that option, I've reworked it so that it automatically downsizes. The size of the mini calendar itself has also become smaller.
I included this change in a new version and released it. See if it works with the window size you use most often please. Please let me know if any changes still need to be made.

Yes it works!

Though for some reason the horizontal scroll bar shows up even though the mini calendar is far away from sidebar.
Here is a screenshot:
image

It doesn't happen in this width of the sidebar:
image

It doesn't happen if I turn off the plugin.
It's not a big problem though & thanks for working on my issue so quickly.