-
Notifications
You must be signed in to change notification settings - Fork 379
shontzu/WEBREL-1584/Extra-spaces-in-jurisdiction-modal #11060
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
shontzu/WEBREL-1584/Extra-spaces-in-jurisdiction-modal #11060
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-shontzu-deriv-shontzu-webrel-1584extr-da02a5.binary.sx/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
&__wrapper { | ||
@include desktop { | ||
height: 76rem; | ||
height: 69rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
height: 69rem; | |
max-height: 76rem; |
height: 69rem; | ||
perspective: 100rem; | ||
overflow: scroll; | ||
&:has(.jurisdiction-modal__scrollable-content .cfd-jurisdiction-card--financial__wrapper) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not good idea to add conditions to the css
packages/appstore/src/components/cfds-listing/cfds-listing.scss
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
&__footnotes-container { | ||
@include desktop { | ||
gap: 1rem; | ||
min-height: 7.6rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still reproducible, i think .jurisdiction-modal__wrapper
should have height: 69rem;
. please check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will cause overflow and scrolling on financial because of having longer content.... it is possible to use conditional heights, i.e. 69rem for derived and swap free, 76rem for financial but it might become a best practice issue as mentioned in above review
cc: @mahdiyeh-deriv
Changes:
blank whitespaces
Screenshots:
Before:
After:
Screen.Recording.2023-10-31.at.3.40.39.PM.mov