seanwcom/Red-Graphite-for-Obsidian

tree view style bug in Obsidian 1.3.5

Opened this issue · 3 comments

image
After upgrading to version 1.3.5, the collapse icon is no longer aligned with the indent line, and its padding-left has bugs.

After changing the fonts, the issue remains, so I think it is not related with font.

I've had the same issue, however, it only happens when in light mode

provide a temporary dirty fix:

  1. add a css snippet named "fix_ob_rg_light_1.3.5.css" on vault/.obsidian/snippets, copy following code to it and save
.theme-light .nav-file-title {
    padding: var(--nav-item-padding);
}
.theme-light {
  --nav-item-padding: var(--size-4-1) var(--size-4-2) var(--size-4-1) var(--size-4-6);
}
  1. enable it on Options->Appearance->Css snippets

Not fully tested, doesn't find any side effects currently.

provide a temporary dirty fix:

  1. add a css snippet named "fix_ob_rg_light_1.3.5.css" on vault/.obsidian/snippets, copy following code to it and save
.theme-light .nav-file-title {
    padding: var(--nav-item-padding);
}
.theme-light {
  --nav-item-padding: var(--size-4-1) var(--size-4-2) var(--size-4-1) var(--size-4-6);
}
  1. enable it on Options->Appearance->Css snippets

Not fully tested, doesn't find any side effects currently.

Thank you very much for this fix. This theme is my absolute favorite and you saved me some nerve cells.