Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

If there are too many directories, , it will not be displayed completely, and the font is too small, can it be set to scroll mode? #1

Closed
zhl111 opened this issue Jan 23, 2022 · 3 comments

Comments

@zhl111
Copy link

zhl111 commented Jan 23, 2022

image

@cumany
Copy link

cumany commented Feb 23, 2022

I fixed the bug, which was triggered by a css style
Please modify the style.css file in the plugin directory:

.floating-toc[data-v-3bdd42b2] {
  list-style: none;
  margin: 0;
  padding: 0.1rem;
  position: absolute;
  top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  bottom: 40px;
  width: 2rem;
}
.floating-toc[data-reveal=true][data-v-3bdd42b2] {
  width: auto;
  overflow: auto;
}
.floating-toc[data-reveal=true][data-v-3bdd42b2]::-webkit-scrollbar {
                display: none;
            }

@curtgrimes
Copy link
Owner

Thank you, are you able to submit a PR? Thanks!

cumany referenced this issue in PKM-er/obsidian-floating-toc-plugin Feb 23, 2022
@cumany
Copy link

cumany commented Feb 23, 2022

Okay, I'll try.

@curtgrimes curtgrimes closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants