Problems when setting customBreakpoints #3937
-
Hi there,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @Viraj24Gupta - could you share a reproduction or link to your code so I can take a look? The Side Panel component is set to take up the full width of the page at our smallest breakpoint, so that's likely why you're seeing that behavior. I'll take a look at your code but if you're trying to keep a fixed width at your smallest breakpoint, you'll probably just have to target that component directly within the Customization Provider. |
Beta Was this translation helpful? Give feedback.
Hey @Viraj24Gupta I took a look into this and managed to get it working in this CodeSandbox. You are missing the "px" in the breakpoints array. Let me know if this resolves your issue.