Sébastien Lorber

Results 1415 comments of Sébastien Lorber

> I'll happily start working on a PR for this I'd rather do this myself asap there are a few things that will end up becoming part of the API...

Here's an initial version to support a custom item type: https://github.com/facebook/docusaurus/pull/7231 I didn't add a `useLayoutContext()` API for now. Considering the item receives a `mobile?: boolean` prop, I guess you...

Note that Ionic doc devs managed to implement custom navbar item types in their site, including validation of custom items: https://github.com/facebook/docusaurus/pull/7231#issuecomment-1112387165 It's a bit hacky but can also be another...

> Expected behavior: The Navbar should look the same whether it is Small Laptop or a Big 24" Desktop. Hmmmm, no? Conceptually it seems perfectly reasonable to change the display...

I don't understand the question. It's impossible to help you: please invest some time to help us help you. Which DOM element can't you target with custom CSS and you...

> Can you tell me how to add scrollbar below the navbar and in a way that it looks good? No: this seems more complex than just adding a single...

@RudraSen2 please don't use issues as a support forum. I deleted your unrelated comment. --- Thanks for referencing the ReactJS website UX: this would definitively be useful to implement it...

Whenever you look for a class, open the dev tools and inspect the DOM to find it

For anyone interested, we added the ability to customize the jsLoader here https://github.com/facebook/docusaurus/pull/4766 This gives the opportunity to replace babel by esbuild, and you can add this in your config:...

@adventure-yunfei md docs are compiled to React components with MDX, and the alternative js loader like esbuild also process the output of the MDX compiler, so this applies to documentation...