Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: DatabaseConnection Modal Margin Bottom #14849

Merged
merged 1 commit into from
May 27, 2021

Conversation

AAfghahi
Copy link
Member

SUMMARY

The margin bottom for the modal form was too large. This PR fixers it.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
Screen Shot 2021-05-26 at 1 49 25 PM
After:
Screen Shot 2021-05-26 at 1 48 22 PM

TESTING INSTRUCTIONS

Go into Database, create a new database.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@yousoph
Copy link
Member

yousoph commented May 26, 2021

🏷️ 2021.21

@codecov
Copy link

codecov bot commented May 26, 2021

Codecov Report

Merging #14849 (1b6834a) into master (e466066) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #14849   +/-   ##
=======================================
  Coverage   77.61%   77.61%           
=======================================
  Files         963      963           
  Lines       49246    49246           
  Branches     6197     6197           
=======================================
  Hits        38224    38224           
  Misses      10821    10821           
  Partials      201      201           
Flag Coverage Δ
javascript 72.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/views/CRUD/data/database/DatabaseModal/styles.ts 97.36% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e466066...1b6834a. Read the comment docs.

@@ -81,7 +81,6 @@ export const antDModalNoPaddingStyles = css`
.ant-modal-body {
padding-left: 0;
padding-right: 0;
margin-bottom: 110px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still want this margin just for the sqlalchemy view.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just checking in, we are keeping this change or should i go back to 110px?

@hughhhh hughhhh self-requested a review May 27, 2021 14:39
@hughhhh hughhhh merged commit 877201f into apache:master May 27, 2021
henryyeh pushed a commit to preset-io/superset that referenced this pull request Jun 1, 2021
(cherry picked from commit 877201f)
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels preset:2021.21 size/XS 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants