Skip to content

Commit

Permalink
Dev-server - display fullscreen Cockpit login form
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 2, 2023
1 parent 233c829 commit f19c7ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/DevServerWrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ export default function DevServerWrapper({ children }) {
} else {
// handle updating the iframe with the login form
const onFrameLoad = () => {
// have a full screen login form
document.getElementById("root").style.maxInlineSize = "none";

const passwordInput = iframeRef.current.contentWindow.document.getElementById(loginId);
// reload the window so the manifests.js file referenced from the
// index.html file is also loaded again
Expand Down

0 comments on commit f19c7ff

Please sign in to comment.