rmdformats icon indicating copy to clipboard operation
rmdformats copied to clipboard

Clicking on TOC items hides the headings if navbar is enabled

Open sir-farts-alot opened this issue 3 years ago • 3 comments

Hi @juba

First of all, thanks a lot for making the awesome theme readthedown I've only one issue.

When I add the navbar, and if click on an item in TOC then that heading doesn't appear (looks like that is hidden under the navbar) and I need to scroll up to see that heading.

Can you please fix this? Thanks in advance.

sir-farts-alot avatar Jul 19 '22 13:07 sir-farts-alot

Hi,

Could you please provide a reproducible example of a document that includes the problem ?

Thanks !

juba avatar Jul 19 '22 15:07 juba

@juba here it is test.zip image

If you click on any heading in TOC, that heading name will hide under the navbar.

sir-farts-alot avatar Jul 19 '22 16:07 sir-farts-alot

I see, unfortunately the themes in rmdformats are not designed to be used as RMarkdown websites, only as standalone documents. Websites are based on bootstrap and it would require quite a bit of CSS rewriting to make them compatible...

juba avatar Jul 19 '22 16:07 juba