Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Indentation when opening Obsidian #213

Open
1 of 2 tasks
XKnightRiderX opened this issue Jun 6, 2023 · 14 comments
Open
1 of 2 tasks

[Bug] Indentation when opening Obsidian #213

XKnightRiderX opened this issue Jun 6, 2023 · 14 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@XKnightRiderX
Copy link

Describe the bug

Indent line of notes inside folders not alligned

Expected behavior
Indentation line is not correctly under the folder

To Reproduce

Steps to reproduce the behavior:
I have this problem everytime I open Obsidian, to fix I need to resize the folder structure space

Screenshots

Screenshot attached, screen1 when I open Obsidian, screen2 when I resize the folder structure space

screen1
screen2

OS

Windows

  • Desktop
  • Mobile

Versions

  • Obsidian Version: 1.3.5
  • ITS Theme Version: 1.0.32
@XKnightRiderX XKnightRiderX added the bug Something isn't working label Jun 6, 2023
@XKnightRiderX XKnightRiderX changed the title [Bug] [Bug] Indentation when opening Obsidian Jun 6, 2023
@SlRvb SlRvb added the help wanted Extra attention is needed label Jul 29, 2023
@Xiarno
Copy link

Xiarno commented Mar 11, 2024

I can confirm this is still occurring and is very annoying.

@Xiarno
Copy link

Xiarno commented Mar 11, 2024

is this gonna get fixed?

@SlRvb
Copy link
Owner

SlRvb commented Mar 12, 2024

I can't seem to recreate this on vault opening but I can if I switch themes and that's because of the javascript calculations to align the elements. Is that when you both encounter this issue or is it actually upon vault opening every time, any steps (plugins, etc) to help me recreate that?

@Xiarno
Copy link

Xiarno commented Mar 13, 2024

I can't seem to recreate this on vault opening but I can if I switch themes and that's because of the javascript calculations to align the elements. Is that when you both encounter this issue or is it actually upon vault opening every time, any steps (plugins, etc) to help me recreate that?

When I restart my computer and Obsidian auto-open on the vault, the indentation issue happens as described.

Plugins:
Core plugins:

  • Backlinks
  • Bookmarks
  • Canvas
  • Command palette
  • File Recovery
  • Files
  • Graph View
  • Note Composer
  • Outgoing links
  • Outline
  • Page Preview
  • Properties view
  • Quick Switcher
  • Search
  • Slash commands
  • Sync
  • Tags View
  • Word Count

Community plugins:

  • Advanced Table
  • Markdown Tree
  • MathLive
  • Style Settings
  • Tabout

@Xiarno
Copy link

Xiarno commented Mar 13, 2024

Happened again btw. As mentioned, it happens at every Obsidian launch. Even if I just close Obsidian and re-open it.

Here is my style setting btw:
When exporting only ITS Theme Settings:

{
  "ITS@@ITS-Sizes": "sizing-readable",
  "ITS@@tab-widths": "tab-auto",
  "ITS@@ITS-Sidebar-Styling": "sidebar-tabs-wide",
  "ITS@@ITS-Sidebar-Ribbon-Float": "none",
  "ITS@@ITS-Sidebar-Ribbon-Float-Position": "sidebar-float-top",
  "ITS@@vault-title-none": true,
  "ITS@@hide-vault-name": true,
  "ITS@@p-spacing": 1,
  "ITS@@bold-weight": 600,
  "ITS@@bold-color@@dark": "#F36708",
  "ITS@@italic-color@@dark": "#38CF8A",
  "ITS@@lp-img-float": true,
  "ITS@@header-weight": 700,
  "ITS@@header-border-line-height": 4,
  "ITS@@heading-spacing": 20,
  "ITS@@heading-indicator": true,
  "ITS@@heading-spacing-top": 10,
  "ITS@@heading-spacing-bottom": 10,
  "ITS@@h1-size": 40,
  "ITS@@h2-size": 28,
  "ITS@@h3-size": 22,
  "ITS@@h4-size": 18,
  "ITS@@h5-size": 14,
  "ITS@@h6-size": 12,
  "ITS@@h2-color@@dark": "#8400FF",
  "ITS@@h3-color@@dark": "#2186AE",
  "ITS@@h4-color@@dark": "#0D720E",
  "ITS@@h5-color@@dark": "#EC47BA",
  "ITS@@h6-color@@dark": "#655F5F",
  "ITS@@illusion-h1": true,
  "ITS@@h1-border-line-color@@dark": "#912E2E",
  "ITS@@h2-border-line-color@@dark": "#8400FF",
  "ITS@@h3-border-line-color@@dark": "#2186AE",
  "ITS@@h4-border-line-color@@dark": "#0D720E",
  "ITS@@h5-border-line-color@@dark": "#EC47BA",
  "ITS@@list-bullet-color": true,
  "ITS@@list-lines-color": true,
  "ITS@@indentation-guide-width": 2,
  "ITS@@root-list-spacing": 10,
  "ITS@@list-spacing": 1,
  "ITS@@callout-block": true,
  "ITS@@callout-outline": true,
  "ITS@@default-callout-quote": true,
  "ITS@@table-header-padding-y": 4,
  "ITS@@table-header-padding-x": 10,
  "ITS@@table-header-size": 16,
  "ITS@@select": "none",
  "ITS@@blockquote-border-color@@dark": "#2F6DC6"
}

When exporting everything:

{
  "things-style@@mobile-black-background": false,
  "things-style@@active-line": true,
  "things-style@@fancy-code": true,
  "things-style@@fancy-highlight": true,
  "things-style@@h2-underline": false,
  "things-style@@h1-color": "#FFEF00",
  "things-style@@h2-color": "#036D08",
  "obsidian-prism-theme@@color-schemes-dt": "pt-color-scheme-indigo-dt",
  "obsidian-prism-theme@@h1-text-color-custom-dt": "#FFEF00",
  "obsidian-prism-theme@@inline-title-color-dt": "var(--text-normal)",
  "obsidian-prism-theme@@h2-text-color-dt": "var(--color-purple-text)",
  "obsidian-prism-theme@@h3-text-color-dt": "var(--color-cyan-text)",
  "obsidian-prism-theme@@h4-text-color-dt": "var(--color-green-text)",
  "obsidian-prism-theme@@h5-text-color-dt": "var(--color-pink-text)",
  "obsidian-prism-theme@@h6-text-color-dt": "var(--color-grey-text)",
  "obsidian-prism-theme@@highlight-text-accent-custom-dt": "#FFFFFF",
  "obsidian-prism-theme@@text-italic-color-dt": "var(--color-yellow-text)",
  "obsidian-prism-theme@@text-italic-bold-color-dt": "var(--color-red-text)",
  "obsidian-prism-theme@@text-bold-color-dt": "var(--color-orange-text)",
  "obsidian-prism-theme@@dark-mark-highlight-text-color-preset": "pt-highlight-text-default-dt",
  "obsidian-prism-theme@@inline-title-size": 3,
  "obsidian-prism-theme@@h1-size": 3,
  "obsidian-prism-theme@@h2-text-color-custom-dt": "#E300FF",
  "obsidian-prism-theme@@h1-text-color-dt": "var(--color-yellow-text)",
  "obsidian-prism-theme@@h1-text-color-lt": "var(--color-yellow-text)",
  "obsidian-prism-theme@@h2-text-color-lt": "var(--color-purple-text)",
  "shimmering-focus@@show-sidebar-header-buttons": true,
  "shimmering-focus@@show-ribbon": true,
  "shimmering-focus@@show-urls": false,
  "shimmering-focus@@show-new-tab-button": true,
  "shimmering-focus@@show-tab-list-button": true,
  "shimmering-focus@@show-sidebar-toggle-buttons": true,
  "shimmering-focus@@show-close-buttons": true,
  "shimmering-focus@@show-search-pane-suggestions": true,
  "shimmering-focus@@show-vault-in-file-explorer": true,
  "shimmering-focus@@show-file-explorer-navigation": true,
  "shimmering-focus@@normal-header-bar": false,
  "shimmering-focus@@no-lp-heading-level-indicator": false,
  "shimmering-focus@@no-alternating-header-colors": true,
  "minimal-style@@h1-l": false,
  "minimal-style@@color-red@@dark": "#00000000",
  "things-style@@h1-size": "2em",
  "sanctum@@dark-mode-contrast-mode": "sanctum-contrast-dark",
  "sanctum@@color-accent-rgb-d": "92, 153, 124",
  "sanctum@@h1-color": "#FA3F3F",
  "sanctum@@h2-size": 1.75,
  "sanctum@@h2-color": "#B100FF",
  "sanctum@@h1-size": 2.5,
  "sanctum@@h3-color": "#15E4CD",
  "sanctum@@h4-color": "#2B841E",
  "sanctum@@h5-color": "#FF00E8",
  "sanctum@@h6-color": "#898192",
  "sanctum@@blockquote-marker": false,
  "sanctum@@blockquote-border": false,
  "sanctum@@callout-border-width": 5,
  "sanctum@@callout-border-opacity": 30,
  "sanctum@@code-lines": false,
  "sanctum@@bold-color@@dark": "#FF0000",
  "sanctum@@italic-color@@dark": "#F6FF00",
  "sanctum@@highlight@@dark": "#A51C1C",
  "sanctum@@indentation-guide-active": "rgba(var(--mono-rgb-100), 0.3)",
  "sanctum@@table-single-rows": false,
  "sanctum@@table-sticky-headers": false,
  "sanctum@@table-nums": false,
  "sanctum@@table-tabular-figures": false,
  "ITS@@h2-color@@dark": "#8400FF",
  "ITS@@h3-color@@dark": "#2186AE",
  "ITS@@h4-color@@dark": "#0D720E",
  "ITS@@h6-color@@dark": "#655F5F",
  "ITS@@hide-header-underline": false,
  "ITS@@heading-indicator": true,
  "ITS@@callout-outline": true,
  "ITS@@default-callout-quote": true,
  "ITS@@callout-block": true,
  "ITS@@callout-original": false,
  "ITS@@writing": false,
  "ITS@@paper": false,
  "ITS@@writing-document": false,
  "ITS@@justified": false,
  "ITS@@lig": false,
  "ITS@@bold-color@@dark": "#F36708",
  "ITS@@italic-color@@dark": "#38CF8A",
  "ITS@@bold-weight": 600,
  "ITS@@drwn": false,
  "ITS@@t-d": false,
  "ITS@@its-d": false,
  "ITS@@notion": false,
  "ITS@@mini": false,
  "ITS@@nord": false,
  "ITS@@select": "none",
  "ITS@@s-d": false,
  "ITS@@slrvb-g": false,
  "ITS@@slrvb-b": false,
  "ITS@@alternate-indent": false,
  "ITS@@blockquote-border-color@@dark": "#2F6DC6",
  "ITS@@p-spacing": 1,
  "ITS@@header-weight": 700,
  "ITS@@h3-size": 22,
  "ITS@@h4-size": 18,
  "ITS@@h5-size": 14,
  "ITS@@h6-size": 12,
  "ITS@@h1-size": 40,
  "ITS@@list-default-bullet": false,
  "ITS@@list-bullet-color": true,
  "ITS@@list-lines-color": true,
  "ITS@@list-neon": false,
  "ITS@@indentation-guide-width": 2,
  "ITS@@root-list-spacing": 10,
  "ITS@@list-spacing": 1,
  "ITS@@list-bullet-side-lines": false,
  "ITS@@ITS-Sidebar-Ribbon-Float": "none",
  "ITS@@hide-outline-heading": false,
  "ITS@@hide-note-title-icons": false,
  "ITS@@navbar-bottom": false,
  "ITS@@ITS-Sidebar-Styling": "sidebar-tabs-wide",
  "ITS@@ITS-Sidebar-Ribbon-Float-Position": "sidebar-float-top",
  "ITS@@radius-s": 0,
  "ITS@@ITS-Sizes": "sizing-readable",
  "ITS@@titlebar-bubbles": false,
  "ITS@@titlebar-colors": false,
  "ITS@@tab-widths": "tab-auto",
  "ITS@@minimalist-workspace": false,
  "ITS@@hide-resize-handle": false,
  "ITS@@hide-scrollbar": false,
  "ITS@@hide-sidebar-ribbon": false,
  "ITS@@hide-sidebar-ribbon-icons": false,
  "ITS@@hide-vault-name": true,
  "ITS@@hide-nav-header": false,
  "ITS@@hide-file-explorer-icons": false,
  "ITS@@hide-titlebar": false,
  "ITS@@hide-status-bar": false,
  "ITS@@hide-titlebar-tab": false,
  "ITS@@hide-tab-outline": false,
  "ITS@@hide-note-title": false,
  "ITS@@lp-img-float": true,
  "ITS@@img-adj-center": false,
  "ITS@@clear-hr": false,
  "ITS@@clear-headings": false,
  "ITS@@embed-clean": false,
  "ITS@@embed-dark-background": false,
  "ITS@@embed-mini-headers": false,
  "ITS@@clear-heading-1": false,
  "ITS@@clear-heading-2": false,
  "ITS@@header-border-line-height": 4,
  "ITS@@hcl": false,
  "ITS@@heading-color-override": false,
  "ITS@@illusion": false,
  "ITS@@h2-size": 28,
  "ITS@@illusion-h1": true,
  "ITS@@illusion-h2": false,
  "ITS@@h5-color@@dark": "#EC47BA",
  "ITS@@h1-border-line-color@@dark": "#912E2E",
  "ITS@@h2-border-line-color@@dark": "#8400FF",
  "ITS@@h3-border-line-color@@dark": "#2186AE",
  "ITS@@h4-border-line-color@@dark": "#0D720E",
  "ITS@@h5-border-line-color@@dark": "#EC47BA",
  "ITS@@table-header-padding-y": 4,
  "ITS@@table-header-padding-x": 10,
  "ITS@@table-header-size": 16,
  "ITS@@heading-spacing-bottom": 10,
  "ITS@@heading-spacing-top": 10,
  "ITS@@heading-spacing": 20,
  "ITS@@vault-title-none": true,
  "ITS@@vault-icon": false,
  "ITS@@checkbox-strike-quot": false
}

@Xiarno
Copy link

Xiarno commented Mar 15, 2024

I hope this helps.

@Xiarno
Copy link

Xiarno commented Mar 26, 2024

Whatever you did, it seems fixed?

@SlRvb
Copy link
Owner

SlRvb commented Mar 26, 2024

Wait, really? 👀

@Xiarno
Copy link

Xiarno commented Mar 26, 2024

Yeah. Doesn't seem to happen to me at least.

@Xiarno
Copy link

Xiarno commented Mar 28, 2024

Wait, really? 👀

Nevermind it happened again. Not fixed :/

@Xiarno
Copy link

Xiarno commented Mar 31, 2024

Any news about it? Did my list of plugins & Style Settings helped to maybe figure it out?

@Xiarno
Copy link

Xiarno commented Apr 9, 2024

Hey @SlRvb any news?

@SlRvb
Copy link
Owner

SlRvb commented Apr 9, 2024

So I've tried with your setup and I can't seem to recreate this issue of alignment not working properly on each start up of the vault.
balDd5ZSjK

I'm truly not sure what the issue is other than my css to hide the folder arrows. My only idea to fix this is to just add an option to re-add the folder arrows via a style settings toggle.

@Xiarno
Copy link

Xiarno commented Apr 9, 2024

Hey so for some reason it seems to only occurs at FIRST LAUNCH.

Aka when you restart your computer and launch it again, it happens. But if you subsequently close Obsidian and re-open, it doesn't happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Hiatus
Development

No branches or pull requests

3 participants