Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix: prevent floating mobile action menu button (#3383)

Pranav Joglekara7d8e12260c1
diff --git a/web/components/ui/Content/ActionButtons.tsx b/web/components/ui/Content/ActionButtons.tsx
index 4db19feebd..eb1df95bbc 100644
--- a/web/components/ui/Content/ActionButtons.tsx
+++ b/web/components/ui/Content/ActionButtons.tsx
@@ -49,7 +49,7 @@ const ActionButtons: FC<ActionButtonProps> = ({
));
return (
- <>
+ <div className={styles.actionButtonsContainer}>
<div className={styles.desktopActionButtons}>
<ActionButtonRow>
{externalActionButtons}
@@ -82,7 +82,7 @@ const ActionButtons: FC<ActionButtonProps> = ({
/>
)}
</div>
- </>
+ </div>
);
};
diff --git a/web/components/ui/Content/Content.module.scss b/web/components/ui/Content/Content.module.scss
index 542fa31cf4..0ad44bf1b1 100644
--- a/web/components/ui/Content/Content.module.scss
+++ b/web/components/ui/Content/Content.module.scss
@@ -58,6 +58,13 @@
color: var(--theme-color-palette-4);
}
+.actionButtonsContainer {
+ display: flex;
+ height: 100%;
+ width: 100%;
+ position: relative;
+}
+
.mobileActionButtons {
display: none;