-
Notifications
You must be signed in to change notification settings - Fork 23
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: Add modal max width on wide screens #3674
Conversation
Bundle ReportChanges will increase total bundle size by 534 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Bundle ReportChanges will increase total bundle size by 268.83kB (2.21%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3674 +/- ##
=======================================
Coverage 98.78% 98.78%
=======================================
Files 825 825
Lines 14806 14806
Branches 4193 4201 +8
=======================================
Hits 14626 14626
Misses 171 171
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3674 +/- ##
=======================================
Coverage 98.78% 98.78%
=======================================
Files 825 825
Lines 14806 14806
Branches 4193 4193
=======================================
Hits 14626 14626
Misses 171 171
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3674 +/- ##
========================================
Coverage 98.80% 98.81%
========================================
Files 820 825 +5
Lines 14784 14892 +108
Branches 4206 4241 +35
========================================
+ Hits 14608 14716 +108
Misses 167 167
Partials 9 9
... and 20 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3674 +/- ##
=======================================
Coverage 98.78% 98.78%
=======================================
Files 825 825
Lines 14806 14806
Branches 4193 4201 +8
=======================================
Hits 14626 14626
Misses 171 171
Partials 9 9
Continue to review full report in Codecov by Sentry.
|
a0018fc
to
1abd9f3
Compare
1abd9f3
to
d672691
Compare
Description
Adding an optional classname prop for the size of a modal to allow possible extra styles such as max width. Currently, on large screens, the designated width is 50% which can be much wider than needed, especially if the modal also has vertical scrolling as our BaseModal element right now has a max height of `m-h-96' designated.
Code Example
Notable Changes
Screenshots
Existing situation that is super wide where a single text line doesn't even reach the halfway point of the modal:
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.