Max Mega Menu – adding a custom divider

I wanted to add a “|” character in-between elements but the only option in Max Mega Menu (MMM) is to enable a divider or not but not specify a custom divider – it only uses the border-right/left settings.

Their support suggested this but stated it could cause icon alignment issues – under custom CSS in MMM:

I ended up using a javascript hack to get it done: