Skip to content

problematic styling of website docs blocks "On this page" index listing #2563

@Sarverott

Description

@Sarverott

Description

while I had interact with published documentation of taskfile sheme I encounter bug that makes more than half of "on this page" index list forever hidden.

https://taskfile.dev/docs/reference/schema

while taskfile becomes my new default command sampling store for toolkit collections and quick use without user's been confuse I visit many times that documentation. after being bothered lately by this problem I made myself this hotfix code for myself:

# pasted into chrome devtools console gives me full access to this page index by scrolling returning

# query selecting list
const css_selector = "#VPContent .container .aside .aside-content .content";

# style overwritting object
const improvised_css_hotfix = {
    overflowY: "scroll",
    height: "100vh"
};

# dom hook
var onthispage_index_list = document.querySelector(css_selector);

# for each param in style overwrite hotfix insert labeled style param value
for( 
    var style_param in improvised_css_hotfix 
){ 
    onthispage_index_list.style[style_param] = improvised_css_hotfix[style_param];
}

I don't have enought experience in collaborative coding so I'm leaving this solution of issue patching here.

Please, help with that enoying issue

Best Regards

Version

3.45

Operating system

chromium on linux, maybe on every browser that problem exist

Experiments Enabled

No response

Example Taskfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: wontfixThe issue will not be progressed or fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions