-
Notifications
You must be signed in to change notification settings - Fork 44
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
🐛 [BUG] - Fix the Push snap UI for channels page #1541
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
All other styled components have their CSS properties correctly defined. Therefore, the corrected code for the problematic parts should be: const NotifsOuter = styled.div`
margin: 25px 0px;
`;
const Notifs = styled.div`
align-self: stretch;
flex: 1;
`;
const Toaster = styled.div`
display: flex;
flex-direction: row;
margin: 0px 10px;
`;
const ToasterMsg = styled.div`
// Add CSS styles here
`;
const InstallText = styled(ItemHV2)`
flex-direction: column;
align-items: baseline;
display: block;
align-self: auto;
`;
const CloseButton = styled.div`
cursor: pointer;
height: 20px;
width: 20px;
`;
const InstallPushSnap = styled(SpanV2)`
font-size: 14px;
font-weight: 500;
color: #d53a94;
&:hover {
text-decoration: underline;
text-underline-position: under;
}
`;
const ScrollItem = styled(Item)`
align-items: stretch;
justify-content: stretch;
flex-wrap: nowrap;
`; All other parts of the code look good. |
@corlard3y could your resolve the merge conflicts here |
In the code provided, there are some mistakes and areas that need attention:
After correcting the listed issues, the code should be finalized. All looks good. |
|
In the provided code snippet from the file
After addressing the issues mentioned above, the corrected code will look like this: ...
const StyledComponent = styled.div`
flex-direction: column;
height: 85%;
align-content: center;
align-items: center;
justify-content: center;
font-weight: 200;
margin: 0 0 0 10px;
@media ${device.tablet} {
height: 74%;
}
`;
const NotifsOuter = styled.div`
margin: 25px 0px;
`;
const Notifs = styled.div`
align-self: stretch;
flex: 1;
`;
const Toaster = styled.div`
display: flex;
flex-direction: row;
margin: 0px 10px;
`;
const ToasterMsg = styled.div`
/* Add CSS properties here */
`;
const SnapSection = styled(ItemHV2)`
margin-top: 20px;
border-radius: 12px;
border: 1px solid #d4dcea;
background: #fff;
padding: 12px 16px;
gap: 16px;
max-height: 50px;
@media (max-width: 525px) {
padding: 8px 12px;
}
`;
const InstallText = styled(ItemHV2)`
flex-direction: column;
align-items: baseline;
display: block;
`;
const CloseButton = styled(Close)`
cursor: pointer;
height: 20px;
width: 20px;
`;
const InstallPushSnap = styled(SpanV2)`
font-size: 14px;
font-weight: 500;
color: #d53a94;
&:hover {
text-decoration: underline;
text-underline-position: under;
}
`;
const ScrollItem = styled(Item)`
align-items: stretch;
... After making these corrections, you can mark the section as 'All looks good.' |
Tested on Deploy preview looks good. |
No description provided.