mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
* Added tooltip of selectBox and set max width of attach to * Undo our change, vscode fixed the issue
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
|
||||
.notebookEditor .labelOnLeftContainer {
|
||||
min-width: 100px;
|
||||
max-width: 250px;
|
||||
margin-right: 20px;
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
|
||||
@@ -409,14 +409,13 @@ export class AttachToDropdown extends SelectBox {
|
||||
else {
|
||||
if (connections.length === 1 && connections[0] === msgAddNewConnection) {
|
||||
connections.unshift(msgSelectConnection);
|
||||
this.selectWithOptionName(msgSelectConnection);
|
||||
}
|
||||
else {
|
||||
if (!connections.includes(msgAddNewConnection)) {
|
||||
connections.push(msgAddNewConnection);
|
||||
}
|
||||
}
|
||||
this.setOptions(connections);
|
||||
this.setOptions(connections, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -426,11 +425,11 @@ export class AttachToDropdown extends SelectBox {
|
||||
if (!connections.includes(msgSelectConnection)) {
|
||||
connections.unshift(msgSelectConnection);
|
||||
}
|
||||
this.selectWithOptionName(msgSelectConnection);
|
||||
|
||||
if (!connections.includes(msgAddNewConnection)) {
|
||||
connections.push(msgAddNewConnection);
|
||||
}
|
||||
this.setOptions(connections);
|
||||
this.setOptions(connections, 0);
|
||||
}
|
||||
return connections;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user