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

Responsiveness navbar and footer #338

Closed
wants to merge 3 commits into from

Conversation

Gagansankhla
Copy link
Contributor

Now the Navbar and Footer items will automatically arrange in Centre.

@ghost
Copy link

ghost commented Aug 22, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@dennyabrain
Copy link
Contributor

Hi @Gagansankhla, I'll close this PR without merging it.
Checkout the code here

const size = useContext(ResponsiveContext);

The underlying UI component library Grommet that we are using for this app, has a hook to get screen size. So we'll use that to get the size. then the styling is the same as how you had done.

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.

2 participants