-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fixed issue Refine Settings Layout #3429
fixed issue Refine Settings Layout #3429
Conversation
@@ -0,0 +1,25 @@ | |||
import { useEffect, useState } from 'react'; | |||
|
|||
export const useScreenSize = () => { |
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.
@abdul-irfan-k introducing this hook as based on design, it does not seem to be possible to handle this by css only
|
||
<StyledPageContainer | ||
animate={{ | ||
marginLeft: |
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.
applying the marginLeft here rather than on SettingsPage to allow animation between pages
fixed #3411