Is there any way to center an AppShell? #7339
Unanswered
FelixH2012
asked this question in
Q&A
Replies: 1 comment 1 reply
-
No, AppShell does not support such feature, it is designed to work with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
How can I set a fixed width for my AppShell component so that all its contents automatically have consistent spacing on the left and right, similar to a container?
I’ve tried using a container, but it didn’t work as expected. Additionally, I’d like the navbar to have some spacing on the left.
`return (
<AppShell
header={{ height: 64 }}
navbar={{ width: 300, collapsed: navbarCollapsed }}
padding="md"
styles={{ main: { paddingTop: 68 } }}
Kind regards :)
Beta Was this translation helpful? Give feedback.
All reactions