-
-
Notifications
You must be signed in to change notification settings - Fork 33
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 UI issues#4726 #4771
Fix UI issues#4726 #4771
Changes from 2 commits
ffaa43d
d0eaa92
8d3a59e
ea79fe0
8054945
a5c7688
bfa59fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,7 +138,7 @@ const QFSection: FC<IQFSectionProps> = ({ projectData }) => { | |
); | ||
|
||
return ( | ||
<DonationSectionWrapper gap={isOnDonatePage ? '8px' : '24px'}> | ||
<DonationSectionWrapper gap={'8px'}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Inconsistent Multiple instances of
This inconsistency may lead to uneven spacing in the UI. Additionally, the removal of Analysis chainSimplified gap property in DonationSectionWrapper The While this change improves consistency, it's important to verify that it doesn't negatively impact the layout in scenarios where a different gap was previously applied. Please run the following script to check for any other occurrences of Additionally, the AI summary mentions the removal of a Please review the results of these searches to ensure that the changes don't introduce any unintended layout issues. Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for other occurrences of DonationSectionWrapper with gap prop
rg --type typescript --type tsx 'DonationSectionWrapper.*gap' src
Length of output: 102 Script: #!/bin/bash
# Search for Description styled component with margin-bottom
rg --type typescript --type tsx 'const Description.*margin-bottom' src
Length of output: 107 Script: #!/bin/bash
# Search for other occurrences of DonationSectionWrapper with gap prop
rg --type ts --type tsx 'DonationSectionWrapper.*gap' src
Length of output: 87 Script: #!/bin/bash
# Search for Description styled component with margin-bottom
rg --type ts --type tsx 'const Description.*margin-bottom' src
Length of output: 92 Script: #!/bin/bash
# Search for other occurrences of DonationSectionWrapper with gap prop in .ts and .tsx files
rg 'DonationSectionWrapper.*gap' --glob '*.ts' --glob '*.tsx' src
Length of output: 371 Script: #!/bin/bash
# Search for Description styled component with margin-bottom in .ts and .tsx files
rg 'const Description.*margin-bottom' --glob '*.ts' --glob '*.tsx' src
Length of output: 72 |
||
{isOnDonatePage && ( | ||
<> | ||
<Link href={projectLink}> | ||
|
@@ -302,7 +302,6 @@ const Amount = styled(H3)` | |
|
||
const Description = styled(Caption)` | ||
color: ${neutralColors.gray[700]}; | ||
margin-bottom: 24px; | ||
white-space: nowrap; | ||
& > div { | ||
color: ${neutralColors.gray[900]}; | ||
|
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.
Remove the empty Link component
The Link component on line 58 is empty and serves no purpose. This appears to be a remnant from the removal of the "Learn More" link functionality.
Consider removing this line entirely:
-<Link href={Routes.Onboarding + '/donors'}></Link>
If there's a specific reason to keep a link to the donors onboarding page, consider adding it elsewhere in the component with proper content and accessibility considerations.
Committable suggestion
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.
@lovelgeorge99 can you check why this link is empty? thx
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.
Yes i removed the empty link on later commit.