diff --git a/src/main/index.ts b/src/main/index.ts index 2e0d6f7..4eb863d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -60,6 +60,9 @@ function init() { // WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790 disabledFeatures.push("WinRetrieveSuggestionsOnlyOnDemand", "HardwareMediaKeyHandling", "MediaSessionService"); + // Support TTS on Linux using speech-dispatcher + app.commandLine.appendSwitch("enable-speech-dispatcher"); + app.commandLine.appendSwitch("enable-features", [...new Set(enabledFeatures)].filter(Boolean).join(",")); app.commandLine.appendSwitch("disable-features", [...new Set(disabledFeatures)].filter(Boolean).join(",")); diff --git a/src/renderer/components/screenSharePicker.css b/src/renderer/components/screenSharePicker.css index 4f49323..e3dc7d2 100644 --- a/src/renderer/components/screenSharePicker.css +++ b/src/renderer/components/screenSharePicker.css @@ -33,15 +33,16 @@ .vcd-screen-picker-grid label { overflow: hidden; - padding: 4px 0px; + padding: 8px; cursor: pointer; + display: grid; + justify-items: center; } .vcd-screen-picker-grid label:hover { outline: 2px solid var(--brand-500); } - .vcd-screen-picker-grid div { white-space: nowrap; text-overflow: ellipsis; @@ -101,7 +102,6 @@ .vcd-screen-picker-quality { display: flex; gap: 1em; - margin-bottom: 0.5em; }