Obsidian 样式 - 粘性文件夹 (Sticky Folder)

Obsidian 样式 - 粘性文件夹 (Sticky Folder)

Obsidian 样式 - 粘性文件夹 (Sticky Folder)--

/* !设置文件夹粘性 by 熊猫2024-06-23_23-22 */
.nav-files-container>div>.tree-item.nav-folder .nav-folder-title .nav-folder-title-content {
  background-color: var(--background-secondary);
  z-index: 4;
}
.nav-files-container>div>.tree-item.nav-folder .nav-folder-title {
  z-index: 1;
}
.nav-files-container>div>.tree-item.nav-folder>.nav-folder-title {
  position: sticky;
  z-index: 4;
  top: 0rem;
}
.nav-files-container>div>.tree-item.nav-folder>div>.tree-item.nav-folder>.nav-folder-title {
  position: sticky;
  z-index: 3;
  top: 1.5rem;
}

.nav-files-container>div>.tree-item.nav-folder>div>.tree-item.nav-folder>div>.tree-item.nav-folder>.nav-folder-title {
  position: sticky;
  z-index: 2;
  top: 3rem;
}

讨论

若阁下有独到的见解或新颖的想法,诚邀您在文章下方留言,与大家共同探讨。



反馈交流

其他渠道

版权声明