Awesome! I removed most of the box shadow, the padding at the top right pane and the line which made the active right pane sit on top of the others.
Then I adapted the pane width a bit.
This is exactly how I want it.
Thanks a lot. Looking forward to the plugin.
Awesome work as always! I also got rid of the focusing on the right panels and the padding, because it looks cleaner and in practice I think it’ll be less complicated to handle scrolling between them.
The main thing I was looking for was a “main panel” and the ability to have limitless pages on the right hand side.
I think I can now rest happy with it as it is for my workflow, so thanks again
With Custom CSS enabled in Preferences → Appearance, copy the CSS above (e.g., the code in death’s reply above) onto the end of obsidian.css at the root of your vault. Then, reload Obsidian (e.g., cmd+r).
The plugin API is available for insiders now, so I’m most likely going to be working on the plugin version of this from now on: Sliding Panes (Andy Matushcak Mode) Plugin
Of course, as a plugin it will be that little bit harder to customize to your own personal tastes, as I know a few of you have done. I also plan to introduce new options and features down the line like having a ‘main’ panel and/or pinning panels (these kinds of things are probably a while off yet — I suddenly find myself with a lot of projects going on at once ).
All that is to say that this thread isn’t necessarily dead yet, and if you have questions or comments or want to use this CSS and tweak it to your liking, I’ll still be happy to help.
@death.au Thanks for this awesome job !
Don’t know why sliding windows doesn’t work in my obsidian (O.9.7 in Ubuntu/Gnome). When I open a file (clicking in the left panel or with a link, it close the one already opened).
In the upcoming public release, you’ll be able to enable it natively as a plugin. If you don’t want to wait, you can paste it in a file titled obsidian.css in the root directory of your vault. If it doesn’t exist, create it!
A bit late to the party on this one… This looks great and I would really like to try it out, but I cannot get the “scroll” like feature to work in the original post. My pages are just opening as normal side-by-side. I’ve tried on Linux and Windows machines.
I’ve copied the css, and notice a slight change in the UI (so it looks like it is taking the updated css code) - also I’ve not added any other custom css.