mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51: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 {
|
.notebookEditor .labelOnLeftContainer {
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
|
max-width: 250px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@@ -409,14 +409,13 @@ export class AttachToDropdown extends SelectBox {
|
|||||||
else {
|
else {
|
||||||
if (connections.length === 1 && connections[0] === msgAddNewConnection) {
|
if (connections.length === 1 && connections[0] === msgAddNewConnection) {
|
||||||
connections.unshift(msgSelectConnection);
|
connections.unshift(msgSelectConnection);
|
||||||
this.selectWithOptionName(msgSelectConnection);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!connections.includes(msgAddNewConnection)) {
|
if (!connections.includes(msgAddNewConnection)) {
|
||||||
connections.push(msgAddNewConnection);
|
connections.push(msgAddNewConnection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.setOptions(connections);
|
this.setOptions(connections, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -426,11 +425,11 @@ export class AttachToDropdown extends SelectBox {
|
|||||||
if (!connections.includes(msgSelectConnection)) {
|
if (!connections.includes(msgSelectConnection)) {
|
||||||
connections.unshift(msgSelectConnection);
|
connections.unshift(msgSelectConnection);
|
||||||
}
|
}
|
||||||
this.selectWithOptionName(msgSelectConnection);
|
|
||||||
if (!connections.includes(msgAddNewConnection)) {
|
if (!connections.includes(msgAddNewConnection)) {
|
||||||
connections.push(msgAddNewConnection);
|
connections.push(msgAddNewConnection);
|
||||||
}
|
}
|
||||||
this.setOptions(connections);
|
this.setOptions(connections, 0);
|
||||||
}
|
}
|
||||||
return connections;
|
return connections;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user