Skip to content

The open alternative to Salesforce, designed for AI.

fix panel opening wrapping glitch (#4204) (#4673)

Simão Sanguinhobc6db2d8b00d
diff --git a/packages/twenty-front/src/modules/ui/layout/right-drawer/components/RightDrawer.tsx b/packages/twenty-front/src/modules/ui/layout/right-drawer/components/RightDrawer.tsx
index a73e674dfd3..b5de9a80633 100644
--- a/packages/twenty-front/src/modules/ui/layout/right-drawer/components/RightDrawer.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/right-drawer/components/RightDrawer.tsx
@@ -102,13 +102,14 @@ export const RightDrawer = () => {
const variants = {
fullScreen: {
- width: '100%',
+ x: '0%',
},
normal: {
+ x: '0%',
width: rightDrawerWidth,
},
closed: {
- width: 0,
+ x: '100%',
},
};