NO BUG: Nav link / Dropdown class is added inconsistently

If I add a class to a ‘Nav link’ the class is applied to the < a >.

If I add a class to a ‘Dropdown’ the class is added to the < li >.

This is inconsistent. Consequently, how can I apply a margin-left: auto to the < li > item to sent it to the right?

https://try.bricksbuilder.io/t999d618/nav-menu-class-issue/

Hi Simon,
Thanks so much for your report!

The difference between the text link and the dropdown element is that the dropdown tag is already a li. With the text link, the link is automatically wrapped with a li.

However, you can do this manually by wrapping the text link with a div and setting its tag to li. The markup is still identical, but you can do whatever you want to the div/li.

Best regards,
timmse

Understood, thank you very much @timmse