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

fixed issue Refine Settings Layout #3429

Merged
merged 6 commits into from
Jan 17, 2024

Conversation

abdul-irfan-k
Copy link
Contributor

fixed #3411

Screenshot from 2024-01-14 18-25-05

Screenshot from 2024-01-14 18-25-24

Screenshot from 2024-01-14 18-26-07

Screenshot from 2024-01-14 18-26-21

Screenshot from 2024-01-14 18-26-56

@abdul-irfan-k
Copy link
Contributor Author

abdul-irfan-k commented Jan 16, 2024

Screencast.from.16-01-24.08.16.35.PM.IST.webm
Screencast.from.16-01-24.08.19.46.PM.IST.webm

Screenshot from 2024-01-16 20-16-13
it take 737px (1.6px for middle border)

@@ -0,0 +1,25 @@
import { useEffect, useState } from 'react';

export const useScreenSize = () => {
Copy link
Member

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:
Copy link
Member

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

@charlesBochet charlesBochet merged commit ba038a4 into twentyhq:main Jan 17, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine Settings Layout
2 participants