phibr0 / obsidian-advanced-toolbar

Advanced Toolbar - Obsidian Plugin | Enhances Obsidian Mobile's Quick Action Toolbar
GNU Affero General Public License v3.0
91 stars 3 forks source link

Toolbar (always visible) is overlapping sidebars #25

Closed MartinMiksch closed 2 years ago

MartinMiksch commented 2 years ago

I can't see all the entries in the sidebars because of the toolbar. Would be great if this gets fixed.

Screenshot_20220224-232903_Obsidian.jpg

phibr0 commented 2 years ago

That seems to be a Issue with the Theme you are using. The toolbar should stay behind those drawers.

.workspace-drawer {
    z-index: 10;
}

Please try adding this as a snippet

MartinMiksch commented 2 years ago

I played around a bit because of this information.

I'm using the Minimal theme. Unfortunately, the snippet didn't change anything.

When I change to the default theme, the toolbar is also shown while opening the sidebars but I still can scroll through all entries.

This isn't possible with the Minimal theme. Only when I pin the sidebar. So, the problem is with the theme but for now this works for me.

Nevertheless, it would be great if the full sidebar could be shown over the toolbar. This isn't working for me neither with Minimal nor with the default theme.

phibr0 commented 2 years ago

I am currently not able to push a full fix for this, but can you try the following snippet?

.is-mobile .mobile-toolbar {
  position: absolute;
}
MartinMiksch commented 2 years ago

I am currently not able to push a full fix for this, but can you try the following snippet?

.is-mobile .mobile-toolbar {
  position: absolute;
}

This snippet works. 😀 Thx, for the quick fix! 🙏