We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0b607 commit 9281b5eCopy full SHA for 9281b5e
packages/gitbook/src/components/primitives/SideSheet.tsx
@@ -127,9 +127,9 @@ export function SideSheet(
127
: side === 'left'
128
? 'hydrated:animate-exit-to-left'
129
: 'hydrated:animate-exit-to-right',
130
- 'fixed inset-y-0 z-41 max-w-full', // Above the side sheet scrim on z-40
+ 'fixed inset-y-0 z-41', // Above the side sheet scrim on z-40
131
side === 'left' ? 'left-0' : 'right-0',
132
- withCloseButton ? (side === 'left' ? 'mr-16' : 'ml-16') : '',
+ withCloseButton ? 'max-w-[calc(100vw-5rem)]' : 'max-w-[calc(100vw-3rem)]',
133
isOpen ? '' : 'hidden',
134
className
135
)}
0 commit comments