Skip to content

Instantly share code, notes, and snippets.

@strikoder
Created December 1, 2025 07:17
Show Gist options
  • Select an option

  • Save strikoder/5ac1ad6b7144f245cf427326f75afe90 to your computer and use it in GitHub Desktop.

Select an option

Save strikoder/5ac1ad6b7144f245cf427326f75afe90 to your computer and use it in GitHub Desktop.
Clean Notion Sidebar - Remove default navigation items, workspace switcher, and dividers for a minimal sidebar experience
/*
* Clean Notion Sidebar
* Removes default navigation items and workspace switcher for a cleaner look
*
* How to use:
* 1. Install Stylus extension (Chrome/Firefox/Edge)
* 2. Create new style in Stylus
* 3. Copy and paste this CSS
* 4. Set to apply to domain: notion.so
* 5. Save and refresh Notion
*/
/* Remove default navigation items (Search, Home, Meetings, Notion AI, Inbox) */
div[style*="flex-grow: 0"][style*="flex-shrink: 0"][style*="padding-bottom: 8px"][style*="cursor: pointer"][style*="margin-inline: 8px"] {
display: none !important;
}
/* Remove workspace switcher (User profile section at top) */
div.notion-sidebar-switcher {
display: none !important;
}
/* Remove divider lines */
div[style*="flex-shrink: 0"][style*="box-shadow: transparent"][style*="height: 1px"] {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment