Closed matyasLevinsky closed 5 months ago
Hi, thank you for your feedback examples and improvements.
IMO the snippets look good, but you should remove the svelte classes because they are generated dynamically and could change if the plugin updates.
The space between the title and the timeline is from the gap
in .gcal-week-container
.
There are some hidden elements that are needed to allow the view to be reused in the week view.
Ok, made it into a pull request.
gap
is a big part of the space, but making it small squishes the lines to close to the numerals for hours. Looking in the inspect tool there seems to be something between gcal-title-container
and gcal-week-container
, im guessing about 10px high that the inspect tool is just not picking up (or I am searching in the wrong place). Doesn't matter, im quite happy with the current look I achieved.
Hi, First of all thank you for this plugin, it is very useful. I am mainly using it in my right sidebar, as a TimelineView. The real estate of the sidebar is limited so i grew really annoyed at wasted space, especially between the navigation and the actual timeline. I have some surface level knowledge of css so I tried to make some snippets to fix that issue.
I also have a question to someone who can use the developer tools of obsidian better than me: Why is there still a gap/padding/margin between the elements
<div class="gcal-title-container">
and<div class="gcal-week-container svelte-m4uap8" style="grid-template-columns: auto repeat(1, minmax(0px, 1fr));">
even though the inspect tool shows there to be none? It is driving me crazy. To replicate just open obsidian developer tools,Ctrl+Shift+I
and go down the rabbit hole, its not margins, padding or border. What is it? - It's driving me crazy.I would like to add these examples to the User Examples page, after someone confirms they are not dangerous, or achievable in a more intuitive manner.
These are my modifications:
<< < Today > >>
This selects only buttons within.gcal-nav-container
:Change images: Before: After: