-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
Deploying ui2 with Cloudflare Pages
|
@@ -56,7 +63,7 @@ const NotificationFeedTabsListContainer = styled("div")(( | |||
} | |||
} | |||
|
|||
return defaultStyles | |||
return { ...defaultStyles, width: "90vw", height: "70vh" } |
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.
Why not setting the width and height already in the defaultStyles
?
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.
good catch
<Modal open={isMobile && isOpen} onClose={onClose}> | ||
<NotificationFeedModal | ||
open={isMobile && isOpen} | ||
onClose={onClose} | ||
title={i18nTabs[locale].feed.title} | ||
> |
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 know it comes from before. Out of curiosity, why will the feed modal open if it is already open or on mobile?
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.
good catch
No description provided.