-
Notifications
You must be signed in to change notification settings - Fork 194
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 the small padding issue #2836
Conversation
@rolznz can u please review this PR. |
this will always break in the future for other screens where we use show more button. better to make a permanent fix here! the problem here is when we expand fields, the bottom padding present in container field is not reflecting. an alternate to fix this would be to assign bottom paddings to the last button div itself and not in the container.tsx (https://github.com/getAlby/lightning-browser-extension/blob/master/src/app/components/Container.tsx#L32 notice pb-4 here) so that this will not be issue for every screen which has expnading fields but this will lead to changes in other files where the container component is used. wdyt @rolznz |
Yes I agree, some change has to be made in |
@pavanjoshi914 @Rithvik-padma I noticed in the Container component there is a |
@rolznz I have already tried doing that but the alignment of the child components is getting disturbed in the this screen and its possible to happen in other screens where |
@Rithvik-padma can you highlight the issue in the screenshot? is it the extra spacing before the description? if you inspect it, now the css rules (like justify-between) on the container are correctly being applied and you can see the first element is just the publisher card. I think the fix I suggested is now revealing an existing issue. If we don't want spacing there, we should not be using justifyBetween to add space between the publisher card and the form |
@rolznz So I just found out that the possible reason for this issue is the So ig this means that there is no breaking if we use the I will make some changes for this issue by replacing the |
@Rithvik-padma the send page looks good to me. The close button on the success page is a bit broken - could you please check that one? |
Sure! |
@rolnz how can I test the success page while using a LND test account |
@rolznz I have fixed the padding issue in the result page, apparently |
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.
tACK
Thanks @Rithvik-padma ! |
Describe the changes you have made in this PR
fix the small padding issue for confirm/cancel buttons in the LNURL pay screen when the "more options" button is clicked
Link this PR to an issue [optional]
Fixes #2788
Type of change
fix
: Bug fix (non-breaking change which fixes an issue)Screenshots of the changes [optional]
How has this been tested?
Tested manually
Checklist