dokuwiki_plugin_wrap icon indicating copy to clipboard operation
dokuwiki_plugin_wrap copied to clipboard

Content "pushed down" by TOC

Open fthommen opened this issue 6 years ago • 1 comments

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 https://github.com/splitbrain/dokuwiki/issues/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 avatar Apr 16 '19 11:04 fthommen

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.

kii-chan-reloaded avatar Feb 12 '20 03:02 kii-chan-reloaded