File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " material-web-components-react" ,
3
3
"version" : " 0.3.7" ,
4
4
"author" : " Grayhat Team" ,
5
+ "type" : " module" ,
5
6
"keywords" : [
6
7
" react" ,
7
8
" react-component" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export const BottomSheet: React.FC<BottomSheetProps> = ({
37
37
} `}
38
38
/>
39
39
< Drawer . Content
40
- className = { `bg-zinc-100 flex flex-col overflow-hidden !rounded-t-[2rem] mt-24 fixed bottom-0 m-auto left-0 right-0 sm:max-w-[640px] w-full sm:px-14 px-6 ` }
40
+ className = { `fixed inset-x-0 bottom-0 m-auto mt-24 flex w-full flex-col overflow-hidden !rounded-t-[2rem] bg-zinc-100 px-6 sm:max-w-screen-sm sm:px-14` }
41
41
>
42
42
{ _showHandle && (
43
43
< div className = "w-12 h-1.5 rounded-full bg-zinc-300 cursor-grab active:cursor-grabbing flex flex-col items-center justify-center mx-auto mt-6 mb-2" />
You can’t perform that action at this time.
0 commit comments