Skip to content

Commit f5ef56c

Browse files
Fix responsiveness for drawer
1 parent 8df5dfa commit f5ef56c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@undp/design-system-react",
3-
"version": "1.2.9",
3+
"version": "1.2.10",
44
"main": "./dist/index.cjs",
55
"module": "./dist/index.js",
66
"browser": "./dist/index.umd.js",

src/components/ui/drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) {
110110
}
111111

112112
function DrawerBody({ className, ...props }: React.ComponentProps<'div'>) {
113-
return <div data-slot='drawer-body' className={cn('mt-20', className)} {...props} />;
113+
return <div data-slot='drawer-body' className={cn('mt-20 sm:mt-10', className)} {...props} />;
114114
}
115115

116116
function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) {

0 commit comments

Comments
 (0)