Skip to content

Commit

Permalink
Merge pull request #840 from openSUSE/devel_login_style_fix
Browse files Browse the repository at this point in the history
Dev-server - display fullscreen Cockpit login form
  • Loading branch information
lslezak authored Nov 2, 2023
2 parents 19ca440 + f19c7ff commit 2fd181b
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 2fd181b

Please sign in to comment.