HI,
if the side panel is hidden, when you click on the button to show the map legend nothing happens because the legend is opened in the hidden panel.
I would expect that if the panel is hidden when I click on the legend, it should show up again with the legend info.
well spotted; confirmed