mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 18:46:36 -05:00
align with portal button style (#14187)
* align with portal button style * fix welcome page * image button * more fixes * use withProperties * add comment back * add border radius
This commit is contained in:
@@ -282,13 +282,15 @@ export class SchemaCompareDialog {
|
||||
this.targetFileButton = this.view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: loc.selectTargetFile,
|
||||
ariaLabel: loc.selectTargetFile
|
||||
ariaLabel: loc.selectTargetFile,
|
||||
secondary: true
|
||||
}).component();
|
||||
} else {
|
||||
this.sourceFileButton = this.view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: loc.selectSourceFile,
|
||||
ariaLabel: loc.selectSourceFile
|
||||
ariaLabel: loc.selectSourceFile,
|
||||
secondary: true
|
||||
}).component();
|
||||
}
|
||||
|
||||
|
||||
@@ -888,7 +888,8 @@ export class SchemaCompareMainWindow {
|
||||
this.selectSourceButton = this.view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: loc.selectSource,
|
||||
ariaLabel: loc.selectSource
|
||||
ariaLabel: loc.selectSource,
|
||||
secondary: true
|
||||
}).component();
|
||||
|
||||
this.selectSourceButton.onDidClick(async () => {
|
||||
@@ -901,7 +902,8 @@ export class SchemaCompareMainWindow {
|
||||
this.selectTargetButton = this.view.modelBuilder.button().withProperties({
|
||||
label: '•••',
|
||||
title: loc.selectTarget,
|
||||
ariaLabel: loc.selectTarget
|
||||
ariaLabel: loc.selectTarget,
|
||||
secondary: true
|
||||
}).component();
|
||||
|
||||
this.selectTargetButton.onDidClick(async () => {
|
||||
|
||||
Reference in New Issue
Block a user