docs: add comments about necessary double dollar signs
This commit is contained in:
@@ -103,9 +103,9 @@ function setInputValue(inputField, inputText) {
|
|||||||
}, 3_000);
|
}, 3_000);
|
||||||
|
|
||||||
const handleSuccessfulDispatch = () => {
|
const handleSuccessfulDispatch = () => {
|
||||||
resolve();
|
|
||||||
window.clearTimeout(timeoutId);
|
window.clearTimeout(timeoutId);
|
||||||
inputField.removeEventListener("input", handleSuccessfulDispatch);
|
inputField.removeEventListener("input", handleSuccessfulDispatch);
|
||||||
|
resolve();
|
||||||
};
|
};
|
||||||
|
|
||||||
inputField.addEventListener("input", handleSuccessfulDispatch);
|
inputField.addEventListener("input", handleSuccessfulDispatch);
|
||||||
@@ -334,6 +334,8 @@ function hideFormForInitialSubmission() {
|
|||||||
Can be 0 or 1. Start off invisible to avoid risks of UI flickering,
|
Can be 0 or 1. Start off invisible to avoid risks of UI flickering,
|
||||||
but the rest of the function should be in charge of making the form
|
but the rest of the function should be in charge of making the form
|
||||||
container visible again if something goes wrong during setup.
|
container visible again if something goes wrong during setup.
|
||||||
|
|
||||||
|
Double dollar sign needed to avoid Terraform script false positives
|
||||||
*/
|
*/
|
||||||
$${cssOpacityVariableName}: 0;
|
$${cssOpacityVariableName}: 0;
|
||||||
}
|
}
|
||||||
@@ -346,6 +348,9 @@ function hideFormForInitialSubmission() {
|
|||||||
*/
|
*/
|
||||||
web-client-form,
|
web-client-form,
|
||||||
body > div.p-overlay {
|
body > div.p-overlay {
|
||||||
|
/*
|
||||||
|
Double dollar sign needed to avoid Terraform script false positives
|
||||||
|
*/
|
||||||
opacity: calc(100% * var($${cssOpacityVariableName})) !important;
|
opacity: calc(100% * var($${cssOpacityVariableName})) !important;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user