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

[#12230] Extension Confirm Modal: Misplaced submit buttons on mobile #12401

Merged
merged 3 commits into from
Apr 22, 2023
Merged

[#12230] Extension Confirm Modal: Misplaced submit buttons on mobile #12401

merged 3 commits into from
Apr 22, 2023

Conversation

hollymvargas
Copy link
Contributor

Fixes #12230

Outline of Solution
The problem had to do with padding styling that was attached to the modal-footer class. Instead of removing that styling, as I didn't know what other modals used it, I decided to use bootstrap5 padding classes to override it.

Screenshot before the fix:
image

Screenshot after the fix:
image

…sion confirmation modal on mobile.

The problem had to do with padding styling that was attached to the modal-footer class. Instead of removing that styling, as I didn't know what other modals used it, I decided to use bootstrap5 classes that override the padding for the buttons.

Resolves: #12230
@jasonqiu212 jasonqiu212 self-requested a review April 21, 2023 02:47
Copy link
Contributor

@jasonqiu212 jasonqiu212 left a comment

Choose a reason for hiding this comment

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

Hi @hollymvargas, Thank you for your contribution!

Would it be possible to update the snapshot tests as well? I believe they are currently failing from the changes.

…sion confirmation modal.

Changed the line that was failing to match the new changes I made.

Related to: #12230
@hollymvargas
Copy link
Contributor Author

Ready for review! I updated the test accordingly.

Copy link
Contributor

@jasonqiu212 jasonqiu212 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the contribution

@jasonqiu212 jasonqiu212 added the s.FinalReview The PR is ready for final review label Apr 21, 2023
Copy link
Contributor

@weiquu weiquu left a comment

Choose a reason for hiding this comment

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

LGTM!

@weiquu weiquu added s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging and removed s.FinalReview The PR is ready for final review labels Apr 22, 2023
@zhaojj2209 zhaojj2209 merged commit b235986 into TEAMMATES:master Apr 22, 2023
@samuelfangjw samuelfangjw added the c.Bug Bug/defect report label Jul 14, 2023
@samuelfangjw samuelfangjw added this to the V8.28.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.Bug Bug/defect report s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension Confirm Modal: Misplaced submit buttons on mobile
5 participants