obsidian-tracker
obsidian-tracker copied to clipboard
fitPanelWidth resets in month view
I've noticed that when setting fitPanelWidth: true on a calendar view, it resets to the default size/width when clicking on any of the buttons at the top to go to previous, current of next month. Switching between edit/view mode does not fix the problem, but closing and reopening the note, or reloading Obsidian does. Using Obsidian 1.0.3 on Mac OS 13.0
I noticed that when navigating to other months using the arrows, the svg
element is set with static width
and height
, which is different from the first render, where the svg
element is set with viewBox
and preserveAspectRatio
attributes.
Could we unify the rendering behavior to always include the viewBox
and preserveAspectRatio
attributes?