How can I add container to a root of the project? #702
abhinav-anshul
started this conversation in
General
Replies: 1 comment
-
<Page width="800px">
<App />
</Page> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I would like to wrap my
index.tsx
file in a container, so it just doesn't stretch beyond a certain screen size(useful on large monitors). I understand this can be done easily using a maxWidth style on the root div, but I was hoping to achieve the same using the Container/Page component, similar to how the material UI/ant-d library does.I have tried wrapping it in a Page component but it doesn't work as expected.
is there anything obvious that I am missing?
Thanks so much for reading!
Beta Was this translation helpful? Give feedback.
All reactions