I made some changes to a Top navigation (changing ul.submenu to div.submenu), all is fine, but I cannot find where in a Js is setup this inline style:
style="display: none; top: 53px; left: -0.453125px;"
It is part of this code:
<ul class="level0 submenu ui-menu ui-widget ui-widget-content ui-corner-all" role="menu" aria-expanded="false" style="display: none; top: 53px; left: -0.453125px;" aria-hidden="true">
I tried to find it in
but no luck.
I want to change this so that:
left: 0; width: <calculate based on a platform used>;
Magento 2 main frontend menu is inherited from the standard jQuery UI menu widget, and an element inline position styles are set in the jQuery UI:
How is the main frontend menu generated? https://mage2.pro/t/185