Leaflet doesn't show on every screen sizes

Of course, Jim, take all the time you need.
reconsidering the question, I realize this all about layout size and how to adapt common elements that need to have one particular aspect in every size. And those elements are also containers with unique ID whose content is called by a function.