diff --git a/web/src/elements/buttons/ModalButton.ts b/web/src/elements/buttons/ModalButton.ts
index 645538bfc..a8bd42f39 100644
--- a/web/src/elements/buttons/ModalButton.ts
+++ b/web/src/elements/buttons/ModalButton.ts
@@ -46,6 +46,9 @@ export class ModalButton extends LitElement {
@property({ type: Boolean })
open = false;
+ @property({ type: Boolean })
+ locked = false;
+
handlerBound = false;
static get styles(): CSSResult[] {
@@ -63,6 +66,11 @@ export class ModalButton extends LitElement {
PFContent,
AKGlobal,
MODAL_BUTTON_STYLES,
+ css`
+ .locked {
+ overflow-y: hidden !important;
+ }
+ `,
];
}
@@ -108,7 +116,11 @@ export class ModalButton extends LitElement {
renderModal(): TemplateResult {
return html`
-
+