From 8ded89e8d4d2bc821f57a4925ea72b28e10e4f83 Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 26 Jul 2019 17:24:27 -0500 Subject: [PATCH] Firefox fixes --- scripts/vscode.patch | 25 +++++++++++++++++++++++++ src/media/firefox.css | 23 ++++++++--------------- 2 files changed, 33 insertions(+), 15 deletions(-) diff --git a/scripts/vscode.patch b/scripts/vscode.patch index 421c1578..7795f02d 100644 --- a/scripts/vscode.patch +++ b/scripts/vscode.patch @@ -11,6 +11,31 @@ index 618861a5be..9d4fdea14e 100644 + withBase(path: string ): string; + withBase(resource: { path: string }): { toString: (skipEncoding?: boolean) => string }; } +diff --git a/src/vs/base/browser/ui/menu/menu.ts b/src/vs/base/browser/ui/menu/menu.ts +index 7913bb42fd..80d5970970 100644 +--- a/src/vs/base/browser/ui/menu/menu.ts ++++ b/src/vs/base/browser/ui/menu/menu.ts +@@ -22,7 +22,7 @@ import { isLinux, isMacintosh } from 'vs/base/common/platform'; + + function createMenuMnemonicRegExp() { + try { +- return new RegExp('\\(&([^\\s&])\\)|(? .panel-header h3.title { + margin-bottom: 0; + margin-top: 0; } - .monaco-shell .screen-reader-detected-explanation .buttons a, - .monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-shrink, - .monaco-workbench .notifications-list-container .notification-list-item .notification-list-item-buttons-container .monaco-button { - max-width: -moz-fit-content; - } - - .monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-fit, - .explorer-viewlet .panel-header .count, - .extensions-viewlet > .extensions .extension > .details > .header-container > .header > .version, - .debug-viewlet .debug-call-stack .stack-frame .label { + /* Firefox doesn't seem to support fit-content. */ + /* These are the file tabs. */ + .monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.sizing-fit { min-width: -moz-fit-content; } - */ }