mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-13 03:28:33 -05:00
Merge from vscode 5d18ad4c5902e3bddbc9f78da82dfc2ac349e908 (#9683)
This commit is contained in:
@@ -323,6 +323,9 @@ export class Workbench extends Layout {
|
||||
|
||||
private renderWorkbench(instantiationService: IInstantiationService, notificationService: NotificationService, storageService: IStorageService, configurationService: IConfigurationService): void {
|
||||
|
||||
// ARIA
|
||||
this.container.setAttribute('role', 'application');
|
||||
|
||||
// State specific classes
|
||||
const platformClass = isWindows ? 'windows' : isLinux ? 'linux' : 'mac';
|
||||
const workbenchClasses = coalesce([
|
||||
@@ -335,7 +338,6 @@ export class Workbench extends Layout {
|
||||
|
||||
addClasses(this.container, ...workbenchClasses);
|
||||
addClass(document.body, platformClass); // used by our fonts
|
||||
this.container.setAttribute('role', 'application');
|
||||
|
||||
if (isWeb) {
|
||||
addClass(document.body, 'web');
|
||||
|
||||
Reference in New Issue
Block a user