mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
web - disable linear-gradient in safari for now (#108996)
This commit is contained in:
parent
861b7a989a
commit
71832b5b09
|
@ -47,6 +47,7 @@ import { IPathService } from 'vs/workbench/services/path/common/pathService';
|
|||
import { IPath, win32, posix } from 'vs/base/common/path';
|
||||
import { insert } from 'vs/base/common/arrays';
|
||||
import { ColorScheme } from 'vs/platform/theme/common/theme';
|
||||
import { isSafari } from 'vs/base/browser/browser';
|
||||
|
||||
interface IEditorInputLabel {
|
||||
name?: string;
|
||||
|
@ -1631,7 +1632,10 @@ registerThemingParticipant((theme: IColorTheme, collector: ICssStyleCollector) =
|
|||
}
|
||||
|
||||
// Fade out styles via linear gradient (when tabs are set to shrink)
|
||||
if (theme.type !== 'hc') {
|
||||
// But not when:
|
||||
// - in high contrast theme
|
||||
// - on Safari (https://github.com/microsoft/vscode/issues/108996)
|
||||
if (theme.type !== 'hc' && !isSafari) {
|
||||
const workbenchBackground = WORKBENCH_BACKGROUND(theme);
|
||||
const editorBackgroundColor = theme.getColor(editorBackground);
|
||||
const editorGroupHeaderTabsBackground = theme.getColor(EDITOR_GROUP_HEADER_TABS_BACKGROUND);
|
||||
|
|
Loading…
Reference in a new issue