diff --git a/src/common/commonStyling.css b/src/common/commonStyling.css
index b121db8..d6ad5a9 100644
--- a/src/common/commonStyling.css
+++ b/src/common/commonStyling.css
@@ -4,6 +4,10 @@
background-color: var(--color-primary);
}
+.embed-mode .hide-on-embed {
+ display: none;
+}
+
/* Styling for keyboard symbols.
Copied from the example at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
with adapted colors */
diff --git a/src/common/helpUi.ts b/src/common/helpUi.ts
index 839b012..8b4ee25 100644
--- a/src/common/helpUi.ts
+++ b/src/common/helpUi.ts
@@ -16,7 +16,7 @@ export class HelpUI extends AbstractUIExtension {
}
protected initializeContents(containerElement: HTMLElement): void {
- containerElement.classList.add("ui-float");
+ containerElement.classList.add("ui-float", "hide-on-embed");
containerElement.innerHTML = `