From e2f7393ad5168467f280689090397fe2ccd7f8d9 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 3 Aug 2023 14:38:00 +0100 Subject: [PATCH] Prevent the media lightbox sender info clipping with traffic light on macos (#1141) --- src/macos-titlebar.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/macos-titlebar.ts b/src/macos-titlebar.ts index 611986a..587b27c 100644 --- a/src/macos-titlebar.ts +++ b/src/macos-titlebar.ts @@ -32,6 +32,10 @@ export function setupMacosTitleBar(window: BrowserWindow): void { /* 19px original top value, 32px margin-top above, 12px original margin-top value */ top: calc(19px + 32px - 12px) !important; } + /* Prevent the media lightbox sender info from clipping into the traffic light buttons */ + .mx_ImageView_info_wrapper { + margin-top: 32px; + } /* Mark the splash screen as a drag handle */ .mx_MatrixChat_splash {