tajo / ladle

🥄 Develop, test and document your React story components faster.
https://www.ladle.dev
MIT License
2.52k stars 86 forks source link

Side panel story name not readable when using longer names or folder nesting #516

Closed Hurtak closed 9 months ago

Hurtak commented 9 months ago

Is your feature request related to a problem? Please describe. We use Ladle for large amount of components, so we had to introduce a decent amount of folder nesting, the problem is that after around 4 levels of folders the component names stop being readable because of not enough space in the side bar

image

Describe the solution you'd like Some combination

tajo commented 9 months ago

reducing spacing in the side panel - so there would be more space for story name

You can tweak the default CSS stylesheet. Should be pretty straightforward.

add a drag resize feature to the panel (ideally with saving the width of the panel into local storage)

Yea, I've been wanting this for a while as well.

(EDIT: I have a prototype done already)