I don’t think that’s something I can control with CSS, unfortunately
I’m lucky I have a horizontal scroll wheel on my mouse, I guess.
Yeah, this css sets a minimum width for the panes (which you can adjust the values of in the css if you like, just change the min-width: value). Resizing panes tries to set the width as a percentage of the container’s width. Which… well, I’m not quite sure what that’s doing in this context, but it just seems to reset to the min-width anyway.
There might be a better solution that allows for resizing panes, but I don’t know what it is yet.
I wouldn’t worry too much about flooding the topics with threads, it is going to happen regardless. Better to focus instead on tools that allow for increased discover-ability and organization. Like increasing the amount of tags people can use and having a pop up suggestion to add a tag when someone creates a new thread.
Hi @death.au. I have been looking for exactly this, so thanks for doing the hard yards.
However, for an absolute novice, can you explain steps I need to take to ‘copy the snippet into css vault’. Do I need to create a new vault? I have just started using Obsidian and completely unfamiliar with css
Thank you
Thank you @Klaas. This is all new to me, and so unfortunately, I am still unclear regarding step 3.
If Obsidian is closed, how can I save the text to a vault?
I suspect that the vault to which you refer is different to the vault in which Obsidian notes go – the same term to describe two different things.
Can you explain how to ‘save to your vault’? Is that a system file that Obsidian reads when it opens? If so, how do i find it on a Mac, in order to save the file?
Appreciate your help
A “vault” in obsidian is actually nothing more than a local folder → thus save the obsidian.css file in the respective folder that is your main obsidian data directory
/* Andy Matuschak mode! */
/* everything under .mod-root now. Don't want Andy messing with sidebars */
/* also, Andy only makes sense for vertical splits, at the root level, right? */
.mod-root.workspace-split.mod-vertical {
overflow-x: auto;
}
.mod-root.workspace-split.mod-vertical>div {
min-width: 450px;
left: 0;
}
.mod-root.workspace-split.mod-vertical .workspace-leaf.mod-active,
.mod-root.workspace-split.mod-vertical>div:first-of-type {
z-index:1;
}
Also is it possible to enlarge the pane? It always back to min-width that I set.
Yeah, those two issues (plus positioning of hover popups) are my major pain points with this, and I haven’t been able to solve them with CSS alone.
Hopefully when the plugin API becomes available these are things I can address with some JavaScript…
Using this CSS, If I am in edit mode, do i have to hit Shift-Option-Command click (on a Mac) to open in a new pane? That is a bit awkward. Any easier way?
Unfortunately in Obsidian’s html pinned pane is built exactly the same as the default one. Except pin icon in header, but in css one can’t go backwards to apply changes to “parent” when some “child” element is added or changed.
Hi, thanks for your active-pane modification, I was trying to create something just like it myself. I adopted your edits but changed the opacity to filter: blur, as I like the look of that a bit more. But would you happen to know how to go about making it so the title of a note is never blocked/blurred out?