You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/01/11 01:30:57 UTC

[superset] branch hxgh-ssh-dynamic-form updated: fix styling

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hxgh-ssh-dynamic-form
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/hxgh-ssh-dynamic-form by this push:
     new ec9788d1ed fix styling
ec9788d1ed is described below

commit ec9788d1ed2da080c7aba69721915b3bfa6cbc73
Author: hughhhh <hu...@gmail.com>
AuthorDate: Wed Jan 11 01:30:39 2023 +0000

    fix styling
---
 .../src/views/CRUD/data/database/DatabaseModal/index.tsx              | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
index aba9e89088..bae0190613 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
@@ -1803,7 +1803,9 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
                   validationErrors={validationErrors}
                   getPlaceholder={getPlaceholder}
                 />
-                {sshTunneling && renderSomething()}
+                {sshTunneling && (
+                  <div style={{ padding: '0 15px' }}>{renderSomething()}</div>
+                )}
                 <div css={(theme: SupersetTheme) => infoTooltip(theme)}>
                   {dbModel.engine !== Engines.GSheet && (
                     <>