No description
Find a file
2026-05-19 23:37:13 +02:00
.github - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.vscode - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
src - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.editorconfig - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.gitattributes - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.gitignore - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.markdownlint.jsonc - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
.npmrc copy changes from obsidian sample plugin 2022-07-18 20:30:34 +02:00
biome.json - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
esbuild.config.mts - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
eslint.config.mjs - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
LICENSE copy changes from obsidian sample plugin 2022-07-18 20:30:34 +02:00
manifest.json fix manifest description punctuation 2026-05-19 23:37:13 +02:00
package-lock.json - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
package.json - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
README.md - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
tsconfig.json - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
version-bump.mts - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00
versions.json - copy changes from image context menu plugin 2026-05-19 23:22:12 +02:00

Hide Sidebars on Window Resize

This is a plugin for Obsidian. It automatically hides the sidebars when the window gets too narrow and shows them when it gets wide again.

You can change the minimum width for both the left and right sidebar.

  • Sidebar Toggler
    • Finer control of the Obsidian sidebars. To be used with an external window manager.

  • Auto Hide
    • This plugin enables you to collapse (and expand) the sidebar easier.

  • Min Width
    • sets the minimum width for the active pane

Installation

Install through the official Obsidian Community site: Obsidian Plugins - Hide Sidebars on Window Resize.

You can also install the plugin via the Community Plugins tab within the Obsidian app.

You can also install the plugin manually by copying a release to your .obsidian/plugins/obsidian-hide-sidebars-when-narrow folder.

This plugin on other sites

Obsidian Stats page
Obsidian Hub page

Development

This plugin follows the structure of the Obsidian Sample Plugin, see further details there.
Contributions are welcome.

Credits

This is a fork of a currently unmaintained repo by Michael Hanson that you can find here: original.
As a start, it merges this pull request which addresses this issue.

Ignore limit based on direction, and current maintenance by @NomarCub.

"Sidebars remain hidden option" by @extracat
Zen Mode plugin fix by @HerrChaos

If you like this plugin you can sponsor me here on GitHub: Sponsor NomarCub, on Ko-fi here: Buy Me a Coffee at ko-fi.com, or on PayPal here: Paypal.