Is there a way to have the dropdown menu dynamically size to the longest list item? Right now the width is fixed at rem, em, px.
I saw this post and wanted to confirm that this is the best solution for Pro 2.2.5
$el .x-dropdown {width: auto;}
$el .sub-menu .x-anchor .x-anchor-text-primary {white-space: nowrap;}