Skip to content
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: UserMenu mobile and notifications style #207

Merged
merged 6 commits into from
Dec 9, 2024
Merged

Conversation

braianj
Copy link
Collaborator

@braianj braianj commented Dec 7, 2024

No description provided.

@braianj braianj changed the title Style/notifications fix: UserMenu mobile and notifications style Dec 7, 2024
@braianj braianj self-assigned this Dec 7, 2024
@braianj braianj added the enhancement New feature or request label Dec 7, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 7, 2024

Deploying ui2 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2db68dd
Status: ✅  Deploy successful!
Preview URL: https://6d56d168.ui2-423.pages.dev
Branch Preview URL: https://style-notifications.ui2-423.pages.dev

View logs

@@ -56,7 +63,7 @@ const NotificationFeedTabsListContainer = styled("div")((
}
}

return defaultStyles
return { ...defaultStyles, width: "90vw", height: "70vh" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not setting the width and height already in the defaultStyles?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

Comment on lines 110 to 115
<Modal open={isMobile && isOpen} onClose={onClose}>
<NotificationFeedModal
open={isMobile && isOpen}
onClose={onClose}
title={i18nTabs[locale].feed.title}
>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it comes from before. Out of curiosity, why will the feed modal open if it is already open or on mobile?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@braianj braianj merged commit 8510847 into master Dec 9, 2024
3 checks passed
@braianj braianj deleted the style/notifications branch December 9, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants