Menu Tree border Color/size

perspective
#1

I’ve been beating my head against it for a while, but can’t seem to find the right property.

Is there a way to change the color and size of the borders in a menu tree? As shown in the screenshot below, items in the middle seem to be getting a double border, and I want to change that color a bit.

image

0 Likes

#2

Hi @grietveld, you’ll just want to modify the border styles for the itemStyle property. You may want to just use the border-top styles to avoid the doubling up:

0 Likes

#3

That seems to add a new border in that place. If I set the border to 0px or even 1px the default line still shows.

0 Likes

#4

That’s true. This can be handled more gracefully to make style application more predictable for the menu items. I will open a bug.

0 Likes