We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73fa41 commit 149d970Copy full SHA for 149d970
packages/connection-form/src/components/connect-form.tsx
@@ -112,6 +112,10 @@ const favoriteButtonLabelStyles = css({
112
fontSize: 12,
113
});
114
115
+const connectionStringErrorStyles = css({
116
+ marginBottom: spacing[3],
117
+});
118
+
119
function ConnectForm({
120
darkMode,
121
initialConnectionInfo,
@@ -256,7 +260,10 @@ function ConnectForm({
256
260
updateConnectionFormField={updateConnectionFormField}
257
261
/>
258
262
{connectionStringInvalidError && (
259
- <Banner variant={BannerVariant.Danger}>
263
+ <Banner
264
+ className={connectionStringErrorStyles}
265
+ variant={BannerVariant.Danger}
266
+ >
267
{connectionStringInvalidError.message}
268
</Banner>
269
)}
0 commit comments