diff --git a/stylesheets/components/Lightbox.scss b/stylesheets/components/Lightbox.scss
index b944fee88257..5e99dc1bc1bb 100644
--- a/stylesheets/components/Lightbox.scss
+++ b/stylesheets/components/Lightbox.scss
@@ -256,17 +256,6 @@
}
}
- &__container--has-controls {
- .Lightbox__nav-next,
- .Lightbox__nav-prev {
- // Give some room for 's controls.
- $controls-height: 64px;
-
- padding-top: $controls-height;
- height: calc(100% - $controls-height);
- }
- }
-
&__controls {
display: flex;
gap: 32px;
diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx
index a1f92b8678fe..f4625977d5cb 100644
--- a/ts/components/Lightbox.tsx
+++ b/ts/components/Lightbox.tsx
@@ -484,7 +484,6 @@ export function Lightbox({
const caption = attachment?.caption;
let content: JSX.Element;
- let hasControls = false;
if (!contentType) {
content = <>{children}>;
} else {
@@ -551,8 +550,6 @@ export function Lightbox({
);
-
- hasControls = true;
} else if (isUnsupportedImageType || isUnsupportedVideoType) {
content = (