Open
Description
I am using Pattern Lab Node v5.15.0
on Linux
, with Node v16.0.0
, using a Vanilla/Twig
Edition.
The visual hierarchy of the menu items is off due to the used indentation.
Expected Behavior
The patterns on the first level in the navigation should be in one line with the groups/folders of that level. The next level then should have the indentation.
Actual Behavior
Both level of items have the same indentation, thus seems to be in the same visual hierarchy, while in reality, they are not.
Users aren't able to visually distinct the items of the group/folder "tag" from the rest of the elements that are outside of the group.
Steps to Reproduce
- Create an example pattern
_patterns/test/test-1.twig
and an example pattern_patterns/test/test-group/test-2.twig
. - See the result listed in the navigation as "Test", with a group "Test Group" and an item "Test 1".
- Expand "Test Group" to show the item "Test 2".