mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-27 23:54:20 +02:00
fix style of checkbox row so cursor is pointer
This commit is contained in:
parent
45b20774fd
commit
d922bdfde0
@ -184,7 +184,7 @@ export class ModalPrompt {
|
||||
let label = document.createElement("label");
|
||||
label.innerText = request.label;
|
||||
label.htmlFor = key;
|
||||
label.style.marginRight = "1em";
|
||||
label.style.paddingRight = "1em";
|
||||
label.style.flexBasis = "0";
|
||||
label.style.flexGrow = "1";
|
||||
let req = document.createElement("input");
|
||||
@ -201,6 +201,9 @@ export class ModalPrompt {
|
||||
case "text":
|
||||
req.style.flexGrow = "3";
|
||||
break;
|
||||
case "checkbox":
|
||||
label.style.cursor = req.style.cursor = "pointer";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user