lycHub / ysx-library

ysx component libraries
MIT License
19 stars 9 forks source link

How to show horizontal scrollbar #8

Open clabnet opened 9 months ago

clabnet commented 9 months ago

I have this tree chrome-capture-2023-9-1 When is expanded a nested node it should be useful add a scrollbar on the bottom panel. Strange case, but adding class "overflow-x" = auto it show another vertical scrollbar. Please, how to add a scrollbar x ?

lycHub commented 9 months ago

You can first add " white-space: nowrap" to ".vir-tree-node"; Add "overflow-x: auto" to the upper container of the root element ".vir-tree"; Try it out

image

clabnet commented 9 months ago

@lycHub : Thank's for your reply.

Unfortunately it seems don't working... 3uzTMZwIcvu0J3RJ LKwNbCJKNKw74oyA