dhruvik7/obsidian-daily-stats

How can i customize the look of the panel?

Opened this issue · 1 comments

I want to make it smaller to fit in my side panel also I want to start in January and finish in December

I have a similar concern. For some reason the font and grid boxes are all absolutely enormous. With the default theme, they are a fixed size which I still find too large. With the Minimal Theme, the size of the font in this box can vary depending on the zoom level of the text document, but is much larger than text by default requiring text to be too small before it's the size I'd like.

It seems to depend on text size and be 'larger' than that by some fixed percentage.

The styles.css of the obsidian-daily-stats folder don't give away the answer though. I don't see anything to do with sizing.

On Reddit I found this snippet to add to the CSS file.

#calendar-container {
width: 80%;
font-size: 40%;
}

This makes the font and square size manageable for a full pane. I wouldn't mind being able to resize the height as well as I'm using it as a half height pane, but typing height in as a command didn't seem to make a difference.