-
Notifications
You must be signed in to change notification settings - Fork 3
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 mobile view #702
base: main
Are you sure you want to change the base?
fix mobile view #702
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
is this WIP? @Falacayir98 |
Yes, it was a WIP. I had to add the license and version in the mobile view. It is ready now |
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.
@@ -54,18 +60,21 @@ export function NavLinks({ links, userRights, foldedNav }: Props): JSX.Element { | |||
(link.rights && hasRequiredRights(userRights, link.rights)) ? ( | |||
<MantineNavLink | |||
component={NextLink} | |||
key={link.label} | |||
key={link.label + link.icon} |
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 that? Icon is a JSX Element, hence an object. We don't want to use objects as keys.
@@ -320,7 +333,7 @@ export function AuthLayout({ children, ...props }: Props): JSX.Element | null { | |||
) : null} | |||
</Footer> | |||
|
|||
<AppShellMain>{children}</AppShellMain> | |||
<AppShellMain style={{ overflow: 'hidden' }}>{children}</AppShellMain> |
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.
We don't apply inline-styling to elements. Please use the appropriate CSS file with a class. Is this change really necessary?
DESCRIPTION
#679
TO-DO
CLOSES
closes list of issues closed in this PR