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
[DDW-1017] Fix margin for dialogs content and token table header #2944
[DDW-1017] Fix margin for dialogs content and token table header #2944
Conversation
@@ -53,6 +53,10 @@ | |||
flex-shrink: 0; | |||
margin-top: 10px; | |||
|
|||
&:not(:empty) { | |||
margin-top: 30px; |
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 doesn't solve problem
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.
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.
I fixed the scroll position. As for the change in the margin, there is no more margin bottom on the dialog content, so the scroll will appear when necessary without take in account the margin bottom that was removed.
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.
does it match this https://zpl.io/VkABvQg ?
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 should match now.
3cb257c
to
1c170c0
Compare
now bottom fixed area is 20px more than before https://zpl.io/VkABvQg |
1c170c0
to
455a348
Compare
Updated. |
455a348
to
74b067d
Compare
3rd case scroll starting position is a bit off (but this one is not sooo critical, if we won't find more, we can probably ignore this bit) https://zpl.io/VkABvQg UPD: on the next step position is OK UPD2: on the third it's off again |
Ok, fixed. |
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.
Now it looks great 👍
b27ee4e
to
8bc63c7
Compare
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.
Great job @lucas-barros
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.
Looks good @lucas-barros 👍
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.
Great job @lucas-barros
…-margin-for-dialogs-content
This PR fixes margins for dialogs content and token table header. Most changes were to ensure the dialogs followed this specification.
Affected components:
Added two storybook flags to show buttons on receive screen dialog.
Story: Receive - sequential with address verification
Flags: isAddressDerived and isAddressChecked
Todos
Screenshots
Testing Checklist
Review Checklist
Basics
input-output-hk/daedalus-dev
andinput-output-hk/daedalus-qa
assigned as PR reviewersrun Chromatic
label to PR to trigger the run)release-vNext
,feature
/bug
/chore
,WIP
)yarn manage:translations
produces no changes)Text changes are proofread and approved (Jane Wild / Amy Reeve)Japanese text changes are proofread and approved (Junko Oda)yarn storybook
)In case of dependency changesyarn.lock
file is updatedCode Quality
Testing
After Review