html { min-width: 800px; min-height: 600px; height: 100%; } html, body, .fullscreen-module { position: absolute; top: 0; bottom: 0; right: 0; left: 0; margin: 0; padding: 0; display: flex; }