From acc58208230c8ecedfe163f60d7c0250ba122927 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 2 Oct 2024 13:11:07 +0100 Subject: [PATCH] Remove legacy room header (#1896) --- element.io/nightly/config.json | 3 +-- src/macos-titlebar.ts | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/element.io/nightly/config.json b/element.io/nightly/config.json index ca88940..6e5ae63 100644 --- a/element.io/nightly/config.json +++ b/element.io/nightly/config.json @@ -53,8 +53,7 @@ "feature_spotlight": true, "feature_group_calls": true, "feature_video_rooms": true, - "feature_element_call_video_rooms": true, - "feature_new_room_decoration_ui": true + "feature_element_call_video_rooms": true }, "setting_defaults": { "RustCrypto.staged_rollout_percent": 100 diff --git a/src/macos-titlebar.ts b/src/macos-titlebar.ts index ec94f31..2e17dc1 100644 --- a/src/macos-titlebar.ts +++ b/src/macos-titlebar.ts @@ -128,14 +128,9 @@ export function setupMacosTitleBar(window: BrowserWindow): void { height: 24px; } - .mx_RoomView[data-room-header="new"]::before { + .mx_RoomView::before { height: 13px; } - - .mx_RoomView[data-room-header="legacy"]::before { - height: 27px; - } - `); }