mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 12:08:36 -05:00
Add support for firewall rule name (#21430)
This commit is contained in:
@@ -28,6 +28,7 @@ import { Tenant, TenantListDelegate, TenantPickerListRenderer } from 'sql/workbe
|
||||
|
||||
export class AccountPicker extends Disposable {
|
||||
public static ACCOUNTPICKERLIST_HEIGHT = 47;
|
||||
public static ACCOUNTTENANTLIST_HEIGHT = 32;
|
||||
public viewModel: AccountPickerViewModel;
|
||||
private _accountList?: List<azdata.Account>;
|
||||
private _rootContainer?: HTMLElement;
|
||||
@@ -97,7 +98,7 @@ export class AccountPicker extends Disposable {
|
||||
public createAccountPickerComponent() {
|
||||
// Create an account list
|
||||
const accountDelegate = new AccountListDelegate(AccountPicker.ACCOUNTPICKERLIST_HEIGHT);
|
||||
const tenantDelegate = new TenantListDelegate(AccountPicker.ACCOUNTPICKERLIST_HEIGHT);
|
||||
const tenantDelegate = new TenantListDelegate(AccountPicker.ACCOUNTTENANTLIST_HEIGHT);
|
||||
|
||||
const accountRenderer = new AccountPickerListRenderer();
|
||||
const tenantRenderer = new TenantPickerListRenderer();
|
||||
@@ -203,7 +204,7 @@ export class AccountPicker extends Disposable {
|
||||
private createLabelElement(content: string, isHeader?: boolean) {
|
||||
let className = 'dialog-label';
|
||||
if (isHeader) {
|
||||
className += ' header';
|
||||
className += '.header';
|
||||
}
|
||||
const element = DOM.$(`.${className}`);
|
||||
element.innerText = content;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
/*--------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
@@ -12,17 +12,18 @@
|
||||
.list-row.account-picker-list .label,
|
||||
.list-row.tenant-picker-list .label {
|
||||
flex: 1 1 auto;
|
||||
margin-left: 15px;
|
||||
margin-left: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.list-row.account-picker-list .label .contextual-display-name {
|
||||
font-size: 15px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.list-row.account-picker-list .label .display-name,
|
||||
.list-row.tenant-picker-list .label .display-name {
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.list-row.account-picker-list .label .content,
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
}
|
||||
|
||||
.account-list-container .list-row .codicon {
|
||||
flex: 0 0 35px;
|
||||
height: 35px;
|
||||
width: 35px;
|
||||
background-size: 35px;
|
||||
flex: 0 0 32px;
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
background-size: 32px;
|
||||
}
|
||||
|
||||
.account-list-container .list-row .codicon .badge {
|
||||
|
||||
Reference in New Issue
Block a user