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

Content "pushed down" by TOC #199

Open
fthommen opened this issue Apr 16, 2019 · 1 comment
Open

Content "pushed down" by TOC #199

fthommen opened this issue Apr 16, 2019 · 1 comment

Comments

@fthommen
Copy link

Hi,

Re title: sorry, I don't know how to describe the problem better. Please feel free to change the title if required.

I was referred to here from dokuwiki/dokuwiki#2751.

Issue:

The table of content "pushes" content down when it is "too near" the TOC. See this screenshot:

dokuwiki_toc_pushdown_1

which results from the following DW page:

====== TOC Test ======

<WRAP group>
<WRAP third column>
text

text

text
</WRAP>

<WRAP third column>
text

text

text
</WRAP>

<WRAP third column>
text

text

text
</WRAP>
</WRAP>

===== Title 1 =====

==== Title 2 ====

==== Title 3 ====
====  Title 4 ====

Could this be changed in a way, that the TOC floats over the effective content instead of pushing it away?

This is possibly related to #144, but in my case I explicitely would not want to have the content beneath the TOC (ugly and waste of space)

f.

@fthommen fthommen changed the title TOC "pushes" content down Content "pushed down" by TOC Apr 16, 2019
@kii-chan-reloaded
Copy link

I know this is kind of a late reply, but I recently fixed this behavior by adding overflow: auto; to the .plugin_wrap class in all.less. I'm not sure how it would impact every feature/use of wraps, but for what I've been using them for, there have been no adverse side effects. The main class probably isn't the best place to put this declaration, but I can't be bothered to find a more granular class that would work better since it works for me.

Your mileage may vary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants