Decreasing width of left ribbon

I’m trying to reduce the left-ribbon size:

I’ve tried looking into the css and change stuff like .workspace-ribbon.mod-left.is-collapsed and .side-dock-settings, but the width won’t change no matter what I put.

What could I do so that there is basically no width of the left ribbon? This is when my ribbon isn’t collapsed.

Ideally, if it’s possible, I also want the tabs to stay in place and not move to the left. It’s just the content window I want to expand.

For anyone that has this problem, you can put:

body {
--ribbon-width: px value;
...
}

.workspace-ribbon.mod-left.is-collapsed {
--ribbon-width: 0px;
...
}

Also, use this: Keeps the sidebar ribbon out of sight and only shows it upon hover. [Not tested on Obsidian 1.0+] · GitHub

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.