File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed
src/webviews/webview-side/integrations Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -114,21 +114,18 @@ export const SnowflakeForm: React.FC<ISnowflakeFormProps> = ({
114114 < label htmlFor = "authMethod" >
115115 { getLocString ( 'integrationsSnowflakeAuthMethodLabel' , 'Authentication' ) }
116116 </ label >
117- < div className = "form-subgroup" >
118- < label > { getLocString ( 'integrationsSnowflakeAuthMethodSubLabel' , 'Method' ) } </ label >
119- < select
120- id = "authMethod"
121- value = { authMethod }
122- onChange = { ( e ) => setAuthMethod ( e . target . value as SnowflakeAuthMethod ) }
123- >
124- < option value = "username_password" >
125- { getLocString ( 'integrationsSnowflakeAuthMethodUsernamePassword' , 'Username & password' ) }
126- </ option >
127- < option value = "key_pair" >
128- { getLocString ( 'integrationsSnowflakeAuthMethodKeyPair' , 'Key-pair (service account)' ) }
129- </ option >
130- </ select >
131- </ div >
117+ < select
118+ id = "authMethod"
119+ value = { authMethod }
120+ onChange = { ( e ) => setAuthMethod ( e . target . value as SnowflakeAuthMethod ) }
121+ >
122+ < option value = "username_password" >
123+ { getLocString ( 'integrationsSnowflakeAuthMethodUsernamePassword' , 'Username & password' ) }
124+ </ option >
125+ < option value = "key_pair" >
126+ { getLocString ( 'integrationsSnowflakeAuthMethodKeyPair' , 'Key-pair (service account)' ) }
127+ </ option >
128+ </ select >
132129 </ div >
133130
134131 { authMethod === 'username_password' ? (
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ form {
203203.form-group input [type = 'text' ],
204204.form-group input [type = 'password' ],
205205.form-group input [type = 'number' ],
206- .form-group textarea {
206+ .form-group textarea ,
207+ .form-group select {
207208 padding : 6px 8px ;
208209 background-color : var (--vscode-input-background );
209210 color : var (--vscode-input-foreground );
@@ -214,7 +215,8 @@ form {
214215}
215216
216217.form-group input : focus ,
217- .form-group textarea : focus {
218+ .form-group textarea : focus ,
219+ .form-group select : focus {
218220 outline : 1px solid var (--vscode-focusBorder );
219221 border-color : var (--vscode-focusBorder );
220222}
You can’t perform that action at this time.
0 commit comments