jhildenbiddle / docsify-themeable

A delightfully simple theme system for docsify.js. Features multiple themes with rich customization options, an improved desktop and mobile experience, and legacy browser support (IE11+).
https://jhildenbiddle.github.io/docsify-themeable
MIT License
535 stars 272 forks source link

sidebar not aligned between file and folder classes #71

Closed DanielYWoo closed 2 years ago

DanielYWoo commented 2 years ago

Bug Report

Steps to reproduce

create a sidebar

* Whatever
  * [Home](/)
* User Guides
  * [Setup Development Environment](/_user-guide/setup/)  

It works perfectly. Now change it to

* [Home](/)
* User Guides
  * [Setup Development Environment](/_user-guide/setup/)  
  * [Microservice with REST APIs is dead simple](/_user-guide/platform-lightweight-rest/)

The Overview has a different class and cannot be displayed correctly. image

This is because the class is different: image

reproducible sandbox

code sandbox demo

DanielYWoo commented 2 years ago

anybody has an idea how to workaround this?

jhildenbiddle commented 2 years ago

This appears to be an issue with the docsify-sidebar-collapse which you are using in your demo. Docsify-themeable cannot adjust its default styles to accommodate individual plugins. Your best option is to contact the plugin author and ask them to explore making their plugin compatible with docsify-themeable.